On some level people have the right to do whatever they please with their property. That's kind of the point of ownership to begin with.
And on some level they don't (or, perhaps more precisely, on some level it's never entirely their property if they aren't the sovereign—even if they are a member of a group which collectively constitutes the sovereign), that's kind of the point of sovereignty.
Ownership literally doesn't mean you can do whatever you please, that's the point of the top-level comment here.
Get a social housing unit, pay €500 per month. Rent it out for €90 per day on AirBNB. Profit.
An HOA is a community-owned development. The individual lots are owned subject to the (HOA) rules of the development. That subordination is quite literally written into the deeds of the individual plots. So in this case, the other owners have a right to tell the individual owner what they can't do on their property.