Would this power supply run 2 nema 17 motor?

Ignore the above post. It is wrong.

Yes, 5A at 24V is plenty to run any pair of Nema 17s.