I sure hope it is so. I have had chickens for several years, as I could not find anything about them in the bylaws. Our county allows them. I live outside of town, next to a lake, but there is an association. They just updated the language in the bylaws, and for the first time, I noticed it mentioned. The wording is unchanged in the new wording.
The wording "except as pets". I would interpret as allowing you to keep them. However, the first time you sold as egg I think the pet aspect would be much harder to argue. I'd also keep the numbers small and perhaps have names for each creature prominently displayed on their cages might help emphasize the pet aspect.