Nix on the rubber coupling.
You could split out the pipe in the hub of the fitting.
That's hard to describe though.
Plumbers do it sometimes.
What they did before was use two wax rings.
A fluidmaster Waxless seal works pretty good for that too, if you don't raise the flange.