I haven't seen an Android phone in over 5 years that doesn't have a microphone built into the keyboard, you might need to enable it, but functionality should be there.
I know for years with Samsung you could just long press the gear icon near the space bar and it brings up the option to switch to the microphone.