Yes, it’s available, and the concept doesn’t work well. A few models of electric bikes include a feature to recharge the battery, usually while you are braking. In those cases, the battery range can be extended by 5-10% while adding several hundred dollars to the cost. However, due to the design of the motors that provide regeneration, you'll often find the bike harder to pedal if you use the bike with the power off.