I have commuted on a lot of bikes, from junkers that lived on a square in Copenhagen year read to nice MTBs.
It doesn't really matter as long as you're comfortable as the human link is usually the downfall in the equation.
If I moved to a new country again and had to buy a new bike, I'd probably go with a used e-bike with a front cargo hold that reminded somewhat narrow. I've had a OG Christiania bike (3-speed) and it was great, but I little wide for the UK.