I have no idea if voice dictation has already been handled, but if it hasn’t, we may be able to do something with an app called Kõnele.
Kõnele is a proper voice input app, which allows it to provide voice dictation for the AOSP keyboard and other apps. it’s also free and open-source.
While it’s default server doesn’t support English, private servers can be used as discussed here.