Yes, you can use a No hub coupling IF allowed by local codes.
Now for a suggestion Get an Extra Heavy by No Hub coupling for a neater connection THEN run the new piping and fittings in NH.
If you cannot locate this kind of coupling try getting a Mission coupling GREAT product.
Dont even think Fernco YECH.
JR Smith and Wade and Josam all make either a caulked drain OR no hub.
You can even caulk a drain over no hub pipe if needed BUT I normally use a riser clamp to hold the drain in place soit doesn’t drop when being caulked