It's certainly not ideal but having kept other species I can tell you from experience how surprisingly easy it is to end up in this situation with 'live-bearing' cockroaches - they breed like crazy and you can very quickly go from half-a-dozen adults to half-a-dozen adults and some cute tiny babies to hordes of the things!
There is quite a bit of space above where this photo was taken that is not so dense with cockroaches. They can all "stretch out" when they want to, but they seem to conglomerate on the bottom with one another.