Nope, but if enough people do share it, they should be able to elect a local government that will help to keep them out.
Just like if the people in a neighborhood find pig farms to be stinky, they should be allowed to, through zoning, keep a property owner from building a pig farm next door.
It is not that simple. When a city builds offices without providing housing they are effectively forcing housing as well as infrastructure onto neighboring cities, while keeping the revenue from the office buildings. In my opinion this demonstrates that cities are too fine grained of a decision level for all regulation of housing supply.
Just like if the people in a neighborhood find pig farms to be stinky, they should be allowed to, through zoning, keep a property owner from building a pig farm next door.