My family members and I all have hub drive ebikes and they are terrific for how we use them--urban/suburban roads and bike trails, paved and unpaved. We do not do mountain biking. They require little maintenance. Yes, it is hard to change a rear flat.
If you are not handy/mechanical, I suggest...