Sounds like you want to look up "dual bank on board battery chargers". A number of guys on this site have installed chargers like this in our boats. Brands like Guest, Pro Mariner, and BatteryTender.
It's a great option to have in the boat. No messing with batteries, chargers & connections. Just park the boat, plug the charger in & cover it. Done.