Why flip a switch when you can just let the bike sense if it is going up or down hill?
Would make hilly terrain a much smoother ride.
Then again, if you do all that electrical, you already just have an electric bike. Which is even more versatile on flat ground.