I understand your example, and I'm not or ever a drug user - but the opening premise is a false dichotomy.
https://www.dea.gov/sites/default/files/2020-06/Cocaine-2020...
"hat is its legal status in the United States? Cocaine is a Schedule II drug under the Controlled Substances Act, meaning it has a high potential for abuse and has an accepted medical use for treatment in the United States. Cocaine hydrochloride solution (4 percent and 10 percent) is used primarily as a topical local anesthetic for the upper respiratory tract. It also is used to reduce bleeding of the mucous membranes in the mouth, throat, and nasal cavities."
Vs Heroin
https://www.dea.gov/sites/default/files/2020-06/Heroin-2020....
Heroin is a Schedule I substance under the Controlled Substances Act meaning that it has a high potential for abuse, no currently accepted medical use in treatment in the United States, and a lack of accepted safety for use under medical supervision.
"Its like saying cocaine is better than heroin..."
Well, it is. Legally.