Funny you mention that, as that was exactly what I was coming to post about.
Years ago I worked for a real estate management company, and some of the rentals were in neighborhoods with HOAs. One HOA had the rule that trash cans could only be at the curb from 7am-7pm on trash day and must otherwise be out of sight. Well it became an issue because the current renter was a medical professional that worked 12 hour shifts, so her trash cans were out from like 6am - 8pm (or later if she didn’t get out of work on time). This became The Hill The HOA Would Die On.
They left notices on her door, so she forwarded those to us. We contacted the HOA thinking we were about to deal with reasonable people. Spoiler alert - they were not. They began issuing $200 fines every week. Us (and the home owner) were constantly trying to reason with the HOA to no avail. Right before I left that job, the HOA was preparing to file a lien against the house. I have no idea how things ended but there was no sign of it getting resolved any time soon.
So you say everyone should be able to comply with that kind of thing, until real life happens.
I’ve never lived in a neighborhood with an HOA (partly due to the issues I had dealing with various HOAs at that job) but if I ever do, I want one like my friend’s HOA. Dues are voluntary and they use them to organize things like a monthly gathering with games and food trucks, a little Halloween thing for kids, etc. I would probably never actually go, but I like the idea that they’re actively building a community.