You can do that , or you could have them use 2 - 4" Slip couplings and glue this fitting in place.
Either way,,, MAKE SURE the connections are supported. Too many times ferncos are used on a horizontal pipe and the SS bands (shear rings) aren't used ,,then you have sagging. This causes stoppages and then comes the snakeing,,,$$$
We actually back fill with gravel and pour concrete around our ferncos,,then I don't worry ever again.