While in theory this is possible, your first step should be to make a very detailed energy budget. You may find that the necessary panel area is too large for the RV's roof, the wanted loads require a battery larger than you have or can install, or just that one part or another (inverter, panels, batteries) ends up being cost prohibitive.
Only once you've done that should you really start looking at controls, system layouts etc.