Actually better off IMO, to just find a reasonable deal on a used aluminum full suspension bike. Possibly a DH type, but not always.
The thing you want is some big thick chunky looking swing arms, so it might be on the lower end of the price scale. But not steel, just lots of aluminum metal back there. 10 years old now mabye, but was $1000 in 2005 or whatever. Pay $500 tops, preferably even less.
Then you have a reasonably stiff frame, a rear end that can take a torque arm pretty easy, and can take a 2000-3000 watt motor with ease.
It will still need upgrades to ride really nice. Brand new shock, brand new fork, both much higher grade than the bike came with.
If that's just way too much, then you are in the steel price range. Stuff like the old mongoose black comb, or more modern mongoose bikes. They will need everything replaced though, junk fork, junk crank, junk seat, etc etc etc. But the frame can be rideable enough for easy trail riding. No good for technical trails, because the frame will sway from side to side like crazy. On the easy trails you can just get used to the frame flex.