The efficacy of regenerative braking (or simply charging a battery) depends on the terrain you typically expect to be riding on. If it comprises long flat stretches, and you are energetic and would welcome putting some extra effort into your peddling, then go for it. Similarly, if it involves long downhill glides where you need to wash off speed anyway, again, go for it. But if you are peddling around town, stop, go, up short hills, then down a bit, repeatedly, you won't have energy to spare. You'll want the downhill stretch to take a breather and gain a bit of speed to get you up the next rise. (I'm picturing "battery-assist" bike riding, here.)
From some years back I recall that regenerative braking on electric cars typically extended their range by merely 10%. All that extra gadgetry, expense, and weight for a miniscule gain meant it was not worth the effort. Hopefully, maybe it is not so uneconomical today.