@missvladis – this Zoom Support article has all the hot keys available in each type of device. Unfortunately, switching between microphones isn’t supported.
I personally use a Stream Deck to perform this function for switching between mic, headphones, speakers, etc. Set your mic and speaker to “System device” then use the Audio Devices plugin on the Stream Deck to change the assignments of default devices.