The problem is not LEDs inherently, but the spectral power distribution and excessive intensity of the specific “white” LEDs on the market, whose light comes from a blue LED and not enough of which is absorbed by the yellow phosphor.
If cars switched to LED headlamps with a CCT of 2700 K or the like, they’d be much less objectionable.
I’ve taken to wearing orange safety glasses when I walk my dog at night and sometimes when I drive at night, so that the combination of street lamps + car headlamps doesn’t delay my sleep and cause bright-adaptation of my eyes. But I would really rather not be forced to take such dramatic and somewhat unpleasant countermeasures.