I checked in to my property restrictions when I wanted to get some chickens (I live in a older neighborhood.) My 1959 restrictions stated that I could only own enough chickens for my family's personal consumption...that I couldn't operate a poultry business from the property!
LOL!! I still have a copy of it...I think it's hysterical.
(I ended up with 6 hens that lived back there three years and no one even knew. Also, we had two meat chickens that we even butchered back there and not a soul in the neighborhood knew. We were very careful not to allow anything to get smelly and we didn't get roosters so they wouldn't crow and bother anyone. We could've...the rules said we could...but we didn't out of good manners.)
In the movie Pacific Heights the tenant (Jack Nicholson, I think) made himself a roach farm in the apartment he was renting. He was breeding them, feeding them cracker crumbs, he raised millions of them.