I never used this, but what an interesting question. KDE connect seems to be able to input text from voice.
https://www.kubuntuforums.net/forum/currently-supported-releases/kubuntu-22-04-jammy-jellyfish/software-support-be/664506-kdeconnect-voice-to-text-in-kde-not-working
https://youtu.be/5d_jGOGRSMc?t=1047
I never used this, but what an interesting question. KDE connect seems to be able to input text from voice.
https://www.kubuntuforums.net/forum/currently-supported-releases/kubuntu-22-04-jammy-jellyfish/software-support-be/664506-kdeconnect-voice-to-text-in-kde-not-working
https://youtu.be/5d_jGOGRSMc?t=1047