Yes and no.
You could probably customise high contrast to be less jarring.
The built in 'dark mode' in windows doesn't work with everything but what does work can be set in colours section of settings.
Settings - personalisation - colours
Then change default windows and default app mode to dark mode.
I think most browsers support this but might need a setting changing to take notice of it.