No, that's illegal where I live (at least for the driver, I'll sometime wear headphones on a long trip when I'm not driving but in that case I won't be navigating so battery drain isn't as bad). I was responding to the above poster's question: "And when was the last time you needed to charge it and listen to music at the same time?" I don't have wireless Android Auto or whatever new cars have nowadays, so I use an analog connection to my car's stereo. The cable uses the same 3.5mm jack as headphones, but is legal as long as I don't fiddle with my phone while driving.
This sure seems like a niche case that rightfully Apple wouldn’t see in their actual-use statistics when making decisions like “should we remove the analog 3.5mm?”
Presumably plugged into the AUX jack in the car. Usually with power plugged into an cigarette lighter adapter. This use case is covered with the correct kind of dongle, but they're a bit hard to find. You'll probably have to order it off of the internet, not pick it up from the checkout aisle at the 7/11.