I've rebuilt most of the electrical system in an RV I recently bought. It started out with a basic "shore power" system as the dominant source of electricity along with a couple lead acid batteries. I've replaced the old batteries with LiFePO4 (lithium) batteries, swapped out the AC->DC charger/converter with one that can charge lithium, extended the main AC power cable into a central electrical bay, installed a 2000W inverter, installed a hardwired EMS/surge protector, and a transfer switch to automatically switch main power to the inverter whenever it's powered on. Next is to install dual 400W solar panel systems (it could have been a single 800W system, but it was actually cheaper with a dual 400W system).
Ultimately I'm going to live in this RV and work remotely as I travel.