To work as required, a change-over switch is required between the battery and ESC. With two batteries and ESCs, this is either two switches or a "DPDT" switch. The important parameter is the current carrying ability of the switch, which needs to be high enough for the anticipated load.
There are equipment sockets that have a switch built in, but these are usually only intended for low currents, usually too low for the motor current, which is the important consideration.. Picking one to suit the 5mm plug section of a battery eliminator "spider" would probably be easiest to handle later. Such plugs are available, and can be fitted to the charger lead. Charging both from on socket would require a rectifier diode between the socket and each battery lead to avoid one battery trying to charge or discharge the other. Or two sockets, and two chargers. Or two sockets, one charger, and remember to actually plug in and charge both batteries.
A pair of battery extension leads with Tamiya male at one end and female at the other could be cut into to insert the switch and plug without any alterations to the batteries or ESCs.
Much like Richard said while I was typing.
Edited By Malcolm Frary on 14/05/2021 10:44:26