Yes, you can definitely ride an electric bike while it’s charging. It all depends on your bike, some models allow it.