Yes, UV and top end blue does cause cataracts in people, but thats from the sun, not monitors.
There are at least two strands to darkmode, one is the "It stops me from sleeping" and the other is eye strain.
the sleeping part is almost certainly nothing to do with the colour temperature of the light coming out of your device. If you go outside at dusk, you will note that its overwhelmingly blue in most places, most of the year (in london its orange for an hour in april and october.) yes, sunset tends to be orange, but the long bit after (again depending on longitude) is overwhelmingly blue.
The moon casts blue light.
You can't get to sleep because you've been hooked on twitter/instagram/ticktok and are revved up because that's what they do. "YOU NEED TO DO THIS NOW" or "THE SITUATION IS REALLY BAD, BECAUSE YOU DIDNT X" and "OMG THEY ARE SO HOT" finally "YOU ARE FAILING BECAUSE YOU DIDNT DO THIS ONE OLD WEIRD TRICK"
You have tension headaches because you've been frowning at a screen for many hours. Or you've not blinked, looked up moved your eyes, or generally changed position.
Now, there are some people for whom this doesn't apply, and that blue light is the cause of their woes. But for 99.5% of you, it won't be.