Depends which Amflow you're talking about, because they're quite different bikes.
The Amflow PX is built for exactly that. It runs the new DJI Avinox M2S motor, 160mm travel, and is genuinely aimed at aggressive trail and enduro use. The M2S puts out 1,300W continuous with 150Nm peak torque in burst mode, which is comfortably the most powerful production eMTB motor available right now. If you're racing enduro stages or riding rowdy terrain, it'll handle it.
The Amflow PR Carbon is slightly more trail-focused (the base gets the M2, the Pro gets the M2S), but still capable on enduro terrain.
What I'd say is that the Avinox motor character suits enduro riding well: it comes alive at higher cadence and rewards riders who push hard. Where it's less impressive is slow, technical, low-rpm climbing, where it's noticeably weaker than a Bosch CX or Shimano EP801. On an enduro bike that's usually a secondary concern, but worth knowing.
Short answer: yes, absolutely, and the PX in particular is one of the more interesting enduro eMTBs in the current market.