No, you can't use a microphone to type on Firefox 57. There was a discussion on the official website, but that's it. The users posted a link where Mozilla is already working on this feature. You might want to try Chrome since there are already apps/extensions that enables you to do this.
You can access the official documentation following this link.