Of course they are. Mental disorders can be fixed by paying for the treatment of people with mental disorders, and drug addiction can be fixed by paying for the treatment (rather than the imprisonment) of people who are addicted to drugs.
There's nothing making drug addicts homeless other than the fact that we drive up a thousandfold the prices of substances that cost pennies to produce.