Depends on the species, the extent to which they will hunt down and pursue their fry. Most of the aphys/chromaphys do well in permanent setups, but if you tried it with the fundlopanchax group you'd rarely see any babies if at all. The most important thing either way is to provide a lot of cover for the babies, as often their siblings pose more of a threat than their parents.