Yeah, the other angle is the over-regulation of housing. Ad-hoc workers often lived out of boarding and flop houses, or otherwise simple accommodations.
Just like ad-hoc work has been outlawed to "protect the workers", minimalist shelter has been outlawed to "protect the tenants".
Both of these endeavors provide some benefit to a certain vulnerable groups, but they absolutely cut the legs out from under other even more vulnerable groups.
I can build a decent shack for less $1,000, or a crappy one for $200. To be clear, I wouldnt want to live in it, but it would be a hell of a lot better than living on the sidewalk. Meanwhile, low income housing projects tag in at more than a million per unit, so few get built.
People say it is inhumane to let people live in a shack, small rooms, or flop houses so it should be illegal. However, they balk at the cost of the alternatives and people are simply left out in the street.
A free person can't voluntarily choose to live in a 8x8' shack, but the state can lock you in a 8x8' cell for disobeying.