Only if one believes that the lack of a home or a house is the root cause of the individuals problem.
A drug addict provided with a house as a home will turn that house into a cesspit in very short time. The drug addict does not clean, does not take out the trash, does not repair. The drug addict will invite other drug addicts to the house, essentially turning it into what is called a drug house. The house can no longer be lived in, and it stops being a home.
Now, is that really helping anyone? No, it is not.
Helping homeless people is a noble cause and should be done - Finland is doing good there. Helping SF drug addicts is a noble cause and should be done - but not by giving them a free house. They need help with their drug addiction first and foremost. Having somewhere to shelter while they get that help is a necessary part of the solution but it is the solution.
Mental issues and drug addiction frequently overlaps but otherwise the same argument applies. Help needs to be directed on the root cause and issues and homelessness is a symptom, not a cause.
You disruptors out there, get going. Where is the unicorn hidden here?