This sounds logic on paper, but in reality is flawed: in an alley you almost never know what are you putting in your body, and you never can really make an informed and critical decision. Alley drugs addicts are 100% deprived of critical thinking, and they will not only blindly accept instructions from other drug addicts but trust that powder they are injecting is actually a non lethal dose of the expected substance. The only real decission you can make is "I'm not putting that in me".
At least when a drug is legalized you can start at the point of "this is a 50 miligram dose of 99.9% pure heroin, not laced with fentanyl or rat poison, and I've used this before, so this should be safe for me".