Good suggestion. I am mostly using Gboard and I just checked microphone is allowed. But here I am typing this and I can't voice dictate it.
Discussion
Gboard requires "Speech Recognition and Synthesis"
with that installed you should get it as an option in Settings -> Languages -> Voice Input