It only works if everyone signs up. Don't move into newer tract housing. Older houses have no HOAs. It isn't that hard.
HOA's have been around in different forms since 1710 on this continent.
Many older houses are subject to use restrictions, some for mutual benefit with neighbors in lieu of zoning regulations, some, not enforceable since enactment of Civil Rights laws, restricting who can move live in a house.
Per example: "No Black, Chinese, Jewish, Mexican, Polish, Irish, Italian or other nonwhite races other than as servants may inhabit this dwelling." "nonwhite" was a euphemism for Papist, Catholics.
Today in full force and effect: This property may not be used as a slaughter house, tannery, smithery, candler, or for any other trade that emits noxious fumes. Fences may be no higher than 3 feet. Outhouses may be no nearer than 6 from neighboring borders. Drainage easements may not be built upon or filled in. No commercial signs other than for doctors may be posted. Stables must be mucked and fresh straw laid daily by 1 hour after sunrise. Well water may not be used for gardening. All dwellings are restricted to three stories in height, including gables and attics. All structures must be setback 20 feet from the street line. No abandoned vehicles may stored on the premises in plain sight. No furniture may be use on the front lawn. Post boxes may be no higher than 3 and 1/2 feet from the ground, no more than 1 1/2 cubic feet in size.
Other restrictions were put into place by developers to maintain architectural uniformity, governing materials, roofing, chimney locations and height, colors, styles, and so forth, including interior paint colors.