I just took a close look at the caniuse page [1]. It says that
inputmode also works in Mobile Safari on iOS 12.2, which is at Beta 6 [2]. Firefox's mobile market share is 0.58%, and the market share for old versions of Mobile Safari is at 2.51% according to the caniuse page so it's probably not worth waiting on Firefox. I think it will be a good choice very soon, maybe in a couple of months, because it's still possible to enter numbers with the regular keyboard.
1: https://caniuse.com/#search=inputmode
2: https://en.wikipedia.org/wiki/IOS (Latest preview in the infobox)