Ebikes can be repairable, but a lot of the prefab ones are truly awful, intentionally confusing wiring and controllers that are locked down, etc.
Better to build your own, check the endless sphere forums for some good guides.
this thread covers why prebuilt ones are unfixable https://endless-sphere.com/sphere/threads/tons-of-dead-1-2-y...