In the same way San Francisco allows ice cream shops (or any business) to object to new competitors in their area, yes many “communities” also write rules that monopolize land in order to keep their property values high.
See: https://www.sfchronicle.com/local/heatherknight/article/S-F-...