perko question

I have two batteries on a perko switch. Is there anything wrong with switching from battery one to battery two or both while the motor is running? Thanks for all the help on the forum.
Scott