Developers love HOAs, they initially (until the development is largely sold) completely control them and they are a tool for maintaining the image they want to sell later units. No one is forcing developers to have HOAs. (If there is policy favoring them, it was lobbied for by developers.)