Illegal for health insurance companies. But not so for life insurance, or disability insurance or long-term care.
Which is to say: No they wouldn't just do that, it would cut their business too much despite being a way to make more money per client.
But getting it from a company that already has it avoids that downside.