Calhoun's "Beautiful Ones" study from the 1960s is the just-so story here. A rat environment is built, becomes overpopulated, and eventually the children stop breeding and the colony dies out. However, it's of dubious predictive value.
As much as the Internet loves the Rat Park study, it’s important to note that it has never replicated; several groups tried and failed. Until more information comes along, it should be considered another victim of the replication crisis and not taken too seriously.