Theoretically, ATP could be harvested from plants or bacteria. They could also be modified to produce the ammonia directly via this reaction. That wouldn't actually reduce the energy cost, but it could reduce the economic cost by making it logistically easier to produce. Maybe instead of making ammonia in complicated chemical plants, we could "grow" it on farms.