There were real experiments testing this theory done with rats and mice starting in the 1950s by John Calhoun.
“What does utopia look like for mice? According to a researcher who did most of his work in the 1950s through 1970s, it might include limitless food (of course!), multiple levels and secluded little rodent condos. These were all part of John Calhoun’s experiments to study the effects of population density on behavior. But what looked like rat utopias and mouse paradises at first quickly spiraled into out-of-control overcrowding, eventual population collapse and seemingly sinister behavior patterns.
There were real experiments testing this theory done with rats and mice starting in the 1950s by John Calhoun.
“What does utopia look like for mice? According to a researcher who did most of his work in the 1950s through 1970s, it might include limitless food (of course!), multiple levels and secluded little rodent condos. These were all part of John Calhoun’s experiments to study the effects of population density on behavior. But what looked like rat utopias and mouse paradises at first quickly spiraled into out-of-control overcrowding, eventual population collapse and seemingly sinister behavior patterns.
The mice were not nice."
https://www.smithsonianmag.com/smart-news/how-mouse-utopias-1960s-led-grim-predictions-humans-180954423/
https://en.wikipedia.org/wiki/Behavioral_sink