HOAs don't seem to do much besides execute petty laws. Neighborhoods, while they can be diverse, will never approach a city in terms of allowing people of different backgrounds, races, etc. to interact. There's a particular reason cities vote more democratic than suburbs: It's hard to vote for such hateful policies when you interact with the people effected every day.
I get that there's this nostalgia or rather inertia about suburbs. I get that people grew up in a one family house with a lawn in their nice homogeneous town. But it needs to go away.