Well, it wouldn't be a perpetual motion machine, but it certainly would help to prolong battery life and, therefore, potential driving distance, wouldn't it?

And then if your battery ran down because of sitting forever in a traffic jam, you could resort to pedaling, which is my backup invention. One would think it would be possible, with the right gearing. (I am visualizing a cartoon for all this.)