There are other ways to be stuck, I'm in subsidized housing which I would like to give to the less fortunate but buying is impossible and leaving would mean half the space and four times the rent making me have less remaining per month than the less fortunate in my current appartment.
Large amounts of public-built housing (and I mean large, in the order of at least ~20% of the market) have a track record of working amazingly well to lower the cost of housing to acceptable levels and to give everyone a chance at homeownership.