Yes, if the mobile browser will provide information about the accelerometer and the gyroscope, assuming the phone has them. If that is not the case, a failsafe authentication method should be provided. The accuracy is lower when no sensor data is available.
A more reliable option (if available) is to implement TypingDNA in a native app. Our GitHub repository provides typing pattern recorders for iOS, Android, and ReactNative.