I'm not a fan of the switch idea, unless it's just a heavy on/off switch to make and break the series 24V connection.
I am trying to use it to isolate Both batteries in the off position for charging and to run both 12v system and 24v trolling motor in the “all” position.
Buy a dual bank
isolated ground battery charger and you won't have to worry about disconnecting the batteries, or the switch. Just wire up the 0-12V battery to all your normal boat loads, then add the second 13-24V battery for the trolling motor. The series + to - connection between the batteries won't allow the batteries to drain each other, as in a parallel connection. Wire it up and leave it, just connect the charger to 120V when you get home.
Another option is to add a Blue Seas 12/24 receptacle, and plugs. Receptacle has 4 connections for the two batteries to be connected independently. Trolling motor plug would be internally jumpered for 24V, and would series the batteries when the plug is inserted. Battery charger plug would be internally jumpered parallel, so when you plug the charger in, both batteries are paralled for charging.
That said, I'm in the same camp as others with having a 3 battery system if running an electric start outboard and 24V TM, so you have plenty of battery for emergency situations: bad weather, medical emergency, etc.