Just to spell out the scientifically obvious: any energy you take from the air or passing pavement to charge while driving comes from the car, along with extra losses from friction, heat, etc. So unless it's a very large, very streamlined solar array, the OP's scenario remains impossible. Charging while braking, however, is already a reality.
Scarlet Ember 2018 Leaf SL W/ Pro Pilot
2009 Vectrix VX-1 W/18 Leaf modules, & 3 EZIP E-bicycles.
PLEASE don't PM me with Leaf questions. Just post in the topic that seems most appropriate.