I have no idea where to start if one accepts the current political, legal, and cultural environment as-is. Assuming you did just accept the status quo as a given, I can better appreciate why the idea of 'just giving homeless people housing' is so enticing. [And there is evidence that it works well. I'm skeptical about the long-run costs and skewed incentives, especially in places in which lots of people want to live.]