Yeah, but as others have said, life has a way of changing. I grew up in a community with an anti-commercial vehicle ordinance and when my mom bought the house there, I'm sure she wasn't thinking that 1) her agency would have company cars (workers used their own vehicles for field work until the 90s) or 2) that the neighborhood she worked in would become so rough/poor that company cars couldn't be left overnight. But as I mentioned in a previous post, I think people are more understanding and willing to look the other way when the offending commercial vehicle is an ordinary vehicle with a company logo, because none of our neighbors ever complained about her bringing the state car (a Ford Focus) home and the city never seemed to notice. I'm sure she'd have found a workaround if she needed to, but back then, I think people were less likely to get nosy/upset about letter-of-the-law violations... in our neighborhood, at least, they reserved their anger for things like what the OP is dealing with, large, loud commercial vehicles.
I did personally steer clear of HOAs and communities with strict restrictions when we bought, partly because of that. For a long time, DH was in business for himself and had a company logo on the side of his pickup - nothing commercial grade, just an F250 with a locking cap - and I didn't want to deal with living in a place where a vinyl logo on the door would make the difference between it being acceptable or unacceptable to own that same make & model. And it turned out to be a good call because now he's got a work van that is at his disposal 24/7. Again, nothing that would bother the neighbors - a Ford Transit Connect, it is actually smaller and quieter than my minivan - but still, it does have a company logo so in some neighborhoods it would be a problem. One of his friends lives in an HOA community and has gotten reminders about the commercial vehicle ordinance just because DH was over there visiting. In the space of a single afternoon, someone took it upon themselves to complain about his van being in his friend's driveway.