You can if you separate them sorta like what youre doing. I recommend a different divider however. I had this one for the two lotls I had. As long as it stays up, no breeding issues.
https://www.amazon.com/toyuto-Acrylic-Divider-Aquarium-Isolation/dp/B07B6J17L7/ref=mp_s_a_1_1?crid=NHJUF2FFSG5V&keywords=55+gallon+acrylic+divider&qid=1644018847&sprefix=55+gallon+acrylic+dividor%2Caps%2C103&sr=8-1