Ok hear me out: legalise and make all drugs distributable, but heavily regulated.
Want to buy meth? Here's one dose of pure(tm) meth, and the safe(tm) equipment to consume it. It's taxed to fund the healthcare needed to support it.
Harder drugs come with pamphlets sign posting social support services (funded by said sin tax). Are you taking Heroin to forget your debt problems? Here's who can help. Gotten addicted? Here's who can help. Social programs are funded by the tax gained through drug sales
Just getting a drop of acid for your Pink Floyd marathon? No problem, have fun, you're helping to fund social programs, getting a safer product, that's (more) ethically produced and likely cheaper. Trying to drown your sorrows in oxycodone? We got you.