I haven't done it, but it shouldn't be too difficult. There are parts places online that specifically cater to electric scooters like this:
ElectricScooterParts.com - Visit the Electric Scooter Parts store.
You just need a motor, controller, batteries and a charger. Possibly a BMS depending on what battery chemistry you use.