I don’t think they should be banned, but their power should be severely restricted.
My HOA is actually useful because they’ve banned short term rentals, put a cap on long term rentals, and cover the insurance. Granted, this is a place where walls are shared.
I also don’t see my local government ever taking care of these things under any realistic scenario.