California has already been forcing towns to build affordable housing.
New Jersey has been doing this for a gazillion years now!
The fly in the social planner's ointment is that low income individuals who want to live in suburban and rural areas are not at all like low income individuals who want to live in cities. (Most of us who live in suburbs and rural areas would have been low-income individuals at one or more times during our lives.)