Yeah i do.
From where i come, if you leave drug addict on streets, they will continue their path of self-destruction regardless of their or others' well-being.
So most effective solution is to isolate the drug addict from the source of addiction.
That your prisons sucks at upholding basic human rights, it's not my fault. It's yours for not giving a damn about it.
There are places where prisoners get chance to work, own pet, study to become doctors, programmers and most importantly they get good healthcare as not everywhere around the globe people don't give a damn about people behind bars.
Also Locking her up doesn't inevitable mean in the prison. Again difference of my background i guess. There are specialized institutions that hold drug addicts and keeps them sober long enough to give them chance to get out of the habit. I know people who went through that. I've visited such a place. It might be a farm with animals or house kinda reminding of those for abused women (house with multiple affected who share their experiences and live together for limited time.
Your blinding rage just prevents you to see what's really wrong and what should be fixed.