This is not how decriminalization of hard drugs has succeeded in any other country. Heroin abuse is illegal in Portugal, as is the unauthorized posession of fentanyl, MDMA, cocaine, crack, etc. They won't put you in prison, but they'll take you to jail. Addicts are compelled to enter treatment:
https://beportugal.com/portugal-drug-laws/
https://www.reddit.com/r/europe/comments/ldjif4/the_portugal...
San Francisco is doing all they can to pursue the sort of plan you propose. It isn't working. Drug abuse and related crimes have only gotten worse. "I heard about Portugal on a podcast" drug policy has been a disaster.