Is it possible? Yes. Especially if they have their own anemones or other hosts at opposite ends of the tank.
Just be sure you have a fallback plan if one pair starts shredding the other. And even if it works for awhile, it one pair starts laying eggs, it could trigger aggression.