There are indications that this strategy works in decreasing harm, decreasing economic impact, and decreasing supply by drying up demand in illegal supply chains.
As always with public health and challenges to existing socio-cultural norms, there’s a lot of room to further discuss.
https://transformdrugs.org/heroin-assisted-treatment-in-swit...
What is diamorphine? Well, it's the scientific name for heroin. However, it differs from the drug in being far purer, being used in a clinical setting, and with carefully controlled dosages. Other than that, it's identical to heroin.
This means we can conclude that the negative aspects of heroin come from impurities, addiction, mental health issues of the users, unsafe injection practices, and unknown strengths resulting in overdose.
You can, with access to medical grade heroin, use it occasionally with no negative side effects. We know this because it is used daily in hospitals around the world.
I've read a few things over the years saying that medical and psychiatric researchers (all but the bravest) have absolutely avoided doing anything remotely connected to the illegal drugs because of fear; given marijuana's use in pain management, and more recent results about psychedelics being possibly useful to treat depression and PTSD, this has probably set back research by years, possibly decades.