That could work as well. But need to be carefull breeding can be hard on the pair. Of the Festae breeding I have been follwing on YouTube there are a lot if deaths.
Like this one guy had to put a milk crate into his tank with a small entrance only the female could fit into for his breeding to succeed and not kill one of the fish in the process.
Now it maybe a lot easier if breeding younger fish, tho some sp. don't sexually mature till they are big fish, like Oscars don't mature till 1.5 years old.
I would have a egg crate in there for the female