Hello
According to the below blog, you are allowed to ride an electric scooter but with strict rules and lots of limitations. The good part is now you will be able to ride an electric scooter in the UK legally, but the sad part is you can’t ride a private electric scooter. That means that you will not be able to ride an electric scooter owned by yourself in any public places, and if you find it, you need to pay a significant amount of fine. Yes, up to £350. So the only way you can ride an electric scooter legally in the UK is by renting.
According to the UK government, the reason behind doing this is to understand the impact of using electric scooters. For example, the safety of people and understanding the potential benefit of using E-scooters. So it is legal to drive e-Scooters in the UK but with the limitations said above.
https://thescooterguide.com/are-electric-scooters-legal-rules-that-everyone-need-to-know/