Even if you are breeding them on purpose, they don't live together all the time, and afterwards the female often needs to go into a hospital tank.
Breeding bettas is a huge responsibility, are you really ready for the hundreds of babies, tanks set up, a plan to find homes for them, etc.?