Giving away the addictive thing you still have to pay the societal cost of having people addicted to it. Switzerland handles this is a very admirable way and they have excellent outcomes, due to treating addiction as a disease rather than an individual moral failing.
I don't see why substance abuse in particular should get a super-special treatment in our discourse on human addiction-related behavior.
If it's destroying your ability to function in society, and something that you might want to drop the habit of, we should support our fellow people in doing it. If that is gambling, video-games, porn, they all activate similar dopamine related effects. Heroine and other opiates are super-effective at this, but it is still the same pathway being activated.
The result -- fewer heroine addicts, fewer drug-related crime, less active criminal underworld (because of lower drug-related income).
An adult discourse and proper handling of addiction and substance abuse not only helps the addicts, but the whole society.