Heroin, fentanyl, methamphetamine and even cannabis are mind destroying substances. You can't be seriously proposing the government legalise these things as a solution to homelessness?
People respond to incentives. If you make something more available you will get more of it. Every. Single. Time.