Yep, this would work fine provided the tank was big enough. I should tell you though that having a single breeding trap will not allow you to raise the fry. If you want to raise the fry you need to be prepared for a full breeding setup of three or four more tanks. A female can produce thirty fry a month, easily, if she is fed properly. That's 180 fry a month, every month. You'd be lucky to raise four or five fry in a trap. They are really only good for separating the females to give birth.