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.
Try out a rental and see how you feel about it. Keep in mind that even a bike with worse specs will probably be better due to not being used and abused by tons of people and proper bike fit also makes things infinitely better.
I've taken the local rental scooters a bunch of times, they're great utility, but quite worn. I used to cycle a bunch, but for short distances I actually prefer the scooter.