The choice part comes in that people choose to buy/rent into an HOA - they don’t just spring up on you unannounced
Also, depending on your state it can be very hard to avoid a HOA. If you're buying a home in California, Colorado, or Florida you've got a 2/3 chance of buying into a HOA, with the numbers getting worse over time. 2/3 new homes being made now have a HOA, so pretty soon you won't have an effective choice when buying.