Yes.
I can imagine many instances in which someone might agree to such a covenant in order to get a roof over their head.
Considering that these communities are usually in premium areas (hence the HOA to keep the area premium), no I can not imagine one instance, let alone many, that someone would enter into a HOA to 'get a roof over their head'. The type people that are in dire need to 'get a roof over their head' are usually not the sort a HOA is going to want in their association.
You say "usually," which means "sometimes not." There are areas with tight housing markets where the choice is not so free, though I'll admit it's probably a minor point.