I think we already have precedents which go further. With ADA you have to provide reasonable accommodation for disabled people. Some of them are disabled purely by chance, but some are disabled because they are dumb (they dived head on and are now on a wheelchair). No difference under that law.
This isn’t about race or sex (and the discrimination argument made), but the underlying genetics that present as those traits (and any risks, such as premature death or the need for extended assisted care, that come along for the ride).
Using systems like social security and universal healthcare are better models if the desire is to ignore identifying and pricing risk (as insurance does) and spread the costs across the population with less admin overhead.
You realize you still share the same roads with bad drivers, right? Insurance pool is the wrong level of abstraction to isolate bad driving. If anything, it puts our skin in the game to advocate for better education, prevention, licensing and enforcement on bad driving.
This is almost the same for healthcare. Covid demonstrated one more time, state of public health is tightly connected to your individual health. There is no rugged individualism as far as the virus is concerned.
Insurance is not socialism. If my risk of getting into a car accident is low, shouldn't I pay low premiums? Why should I subsidize bad drivers?