There are historical reasons for keeping JS Dates at ms. precision, including Spectre-like timing attacks. Modern browsers block use of high-precision timers unless cross-origin security policies are more strict.
All of that said, I’m sure it’s possible to hack around this issue somehow.
Here’s a relevant ECMAScript proposal: GitHub - tc39/proposal-temporal: Provides standard objects and functions for working with dates and times.