And then the professionals can help measure dependency and long term effects, and people can participate in studies and contribute to the science of recreational drug use. Drugs are always medical grade, never laced with other substances, and doctors can recommend safe alternatives to the dangerous recreational drugs.
Power dynamics between a doctor and an addict may pose ethical problems, but if the doctor has the proper oversight these problems can be mitigated.