I've honestly been considering giving up my car for an electric scooter for the summer - my wife will keep her car, so we can still go to places with the family, but I don't need a car for my work commute. At the same time, I'm too lazy to wake up early enough to walk.
Helps that I live in a medium sized European town. Escooters and bikes are very viable - and you can rent them for a low fee too, from multiple providers (I do wish they didn't each require their own app, but of course they do).
Do it! Just think of all the insurance, gas and repair money you'll save.
I'd personally advise for an e bike rather than a scooter since it's more versatile and allows you to put bags on it to transport stuff, but that's personal preference of course.