HOA's have been pulling heavy-handed stunts like this for years, and I wouldn't live under one no matter what. I don't need anyone telling me what I can or cannot do on my property or inside my house, but there are those who do, and they are the ones who belong to these HOA's.
No thanks, and buyer beware.