UPS was testing something like this a couple of years ago as a hybrid system tied to braking action, not sure how it ended up.
UPS is First in Delivery Industry to Test Hydraulic Hybrid Vehicles: 50% Better Fuel Economy and 40% Lower Emissions - Gas 2