If you have a smart converter, charger or inverter/charger indeed, leave it plugged in 24/7. Been doing this for the last 15 years on three different coaches, all with smart chargers or smart inverter/chargers (THAT HAVE BEEN PROPERLY PROGRAMMED).
But if a "stupid" one, you will over-charge the batteries.