Rent, maybe. Sell, no, since that would be a restraint on alienation :)
"Governments see benefits in keeping housing affordable. Do you like having restaurants with waiters, stores with clerks, streets that are swept, trash collected, and so on? then those people need places to live too."
Sorry, but I don't see how this problem doesn't solve itself without any intervention.
If none of these people can afford to live in your area, and they aren't getting paid enough to commute, they'll go elsewhere where they can.
In turn, your area will start to suck, so you'll either pay them enough to commute, etc.
Also that is the best case. Consider older people. I mean there is not really an economic incentive to help old people on fixed income afford homes. Maybe they should be turned out on the street to die, because if it was an issue, the market would have fixed it.
Blind market forces should eventually bring about a reverse, but you will get bubbles and depressions, and there are things which have social, ecological or other utility beyond dollars and cents which won't necessarily be accounted for.
The counter argument is, that the governments of regions, (cities, counties, states, etc) have to account for externalities that businesses don't consider or care about.
Governments see benefits in keeping housing affordable. Do you like having restaurants with waiters, stores with clerks, streets that are swept, trash collected, and so on? then those people need places to live too.