It is certainly possible to get in shape with an electronic bike. But you need to ensure that you do not rely on electronic power that often. Use the motor to throttle through the steep hills and inclined roads only. By doing so, you will work most of your muscles and eventually get in shape.