Unless you are a plumber I would leave it to a professional. If you are never going to move the rig then it can be done but it's a lot of work. Alot of issues come in to play ie: removal of lower membrane, removal of tanks, install plumbing with proper slope and add venting lines, reinstall insulation and membrane. Installing the toilet would be easy if there is room.
A residential toilet contains too much water in the bowl for RV travel and will splash out under motion. This will also allow odors into the RV. The floor should also probably be reinforced to handle the added weight, otherwise the wax seal will likely fail and leak. This is true if the unit is stationary or mobile.
__________________
Larry Day
Texas Baptist Men-Retiree Builders member since '01
13 Silverado 3500HD D/A, 2wd CCSB srw, custom RKI bed
11 Cruiser CF32MK https://www.picturetrail.com/dayle1