Are you certain all of your flats were punctures from road hazards? If the majority of them were from riding with too low a tire pressure and getting snake bites or from pinching the tube when installing it or other things, then these may not help you much.
If you are indeed in an area where goat heads and other debris is puncturing your tires that often, then sure they'll probably be worth it. And with a E-bike that you can dial up the assist level it'll be no issue to you. Perhaps you might have a little rougher ride, but with the additional weight of the E-bike, probably not as noticeable either as it would be on a 17 pound bicycle.