What does that mean, exactly?
How do we pay for that "setting?" What does their stay entail? How long is "a short period of time," and how do we know enough time has gone by? When are they ready for release?
People who abuse drugs have many different reasons why. Sometimes people are hooked instantly due to chemical addiction and just can't shake free. A large population of folks abuse drugs to self medicate and deal with their mental health issues (be it biochemical, or psychological, or both). Others do it to escape the crappy reality they have to endure every day with no meaningful help.
There have been systems that work that other countries have embraced... Why not utilize those? Sure, they aren't cheap, but they seem to work; they for sure work better than what we currently have.