The bikes I have had longest (20 years and more) and which I have ridden farthest are aluminum. But I have also cracked a few aluminum bikes.
If I had a choice between a well designed six-pound frame made from steel and a well designed six-pound frame made from aluminum, I'd take the aluminum one for almost any application. Pound for pound, it's much stronger and stiffer when used appropriately. But aluminum and steel frames don't usually weigh anything like the same for any given style, size, and quality level. So that muddies the waters a bit. A six pound steel frame is probably a better choice for an e-bike than a three-and-a-half pound aluminum frame.
Steel frames are more repairable (though this advantage is grossly overrated for most people), and a steel frame can have mounting points attached by welding or brazing. Usually aluminum frames can't be welded onto without weakening them severely.
These days, aluminum frames tend to be made with all sorts of goofy hydroformed shapes, which serves a marketing purpose but not a valuable engineering purpose. Steel bikes are more often made from straight round tubing, which greatly simplifies clamping or strapping things on.
For at least a couple of reasons, steel forks are generally a much better idea than aluminum forks. This is especially so when they are fitted with flatted axle front hub motors. Forks have fixed diameter steer tubes, so for any given frame, it isn't possible to use a larger steer tube size to exploit aluminum's advantages. Even good quality structural aluminum is not as ductile as comparable steel, so crashes can result in more dramatic and dangerous fork failures.
The cast aluminum used in suspension fork sliders is not comparable to the wrought aluminum used in frames! The cast stuff is much weaker and more brittle. The fact that suspension fork tips are easy to break is a good reason to avoid suspension forks, not to avoid aluminum frames.
I say, if you can find an inexpensive aluminum frame that doesn't use curved, tapered, ovalized, squished, or hydroformed tubing, has nice thick dropouts, and isn't too light, it would be a fine basis for an e-bike. That just isn't most aluminum frames available today.
It's probably easiest to get a set of features appropriate for an e-bike conversion if you select among inexpensive to moderately priced steel framed bikes. But that's no reason to rule out an appropriate aluminum frame.