That is perfectly fine. You don't need to force people to live in a house if they don't want to. But kinda hard not to want to be in a warm house during freezing Finland winters.
Then they're just a person exercising their freedom to move around on the street. Unless you're suggesting that they prefer to be homeless, which is ridiculous.
Well as someone in recovery, I have seen everything. No one “wants” to be homeless, but most people here don’t know anything and downvotes prove they really don’t want to understand. Only pontificate.
Housing isn't prison. You can go out on the street, come back home to sleep/shower/eat/warm up/play Night Crawlers or whatever you want to do at home. I hope we aren't getting confused how houses work.
But the main point is that some need housing because of their condition, and some need it to even get a starting chance at life, getting a job or go to school and later get a job, etc. We as a society benefit from both. And as for the very very few that want to be homeless or just became homeless, there are shelters (which I think USA actually kinda does have or has had a lot).
All of the above also makes financial and economical sense.