Have you ever heard of Deed Covenants?
They are a legal and proper way to establish order in a community without tyranny, and without socialism.
Yeah, it's a fancy term that means you don't actually own the property you purchased.
It also means that some unelected bureaucratic clerk in the "homeowners association" can mandate that you can't fly Old Glory on the 4th of July.