We have something like this in real life, which is the kinetic energy recovery system (KERS) used in Formula One cars when they use the brakes. The energy recovered can be used to boost acceleration in some sectors of the tracks to help in overtaking other cars.