If all drugs were legal and freely available, why would people even choose to take heroin, if they're not already addicted.
Only heroin is in the sweet spot of strong kick, immense pain relief and extremely cheap. People take cheap drugs because they're poor, not because they don't want to get their hands on pure colombian coke.