I have. I’ve lived in HOAs where utilities, gardening/lawn care, parking lot upkeep, trash/recycling, community center, were taken care of by the HOA.
You only hear about bad HOAs because people in those HOAs only care about property values from aesthetics. In reality, a good HOA is like a properly run union - taking care of its members by providing cheaper, common services via collective bargaining.