Pasta is essentially just fancy wheat. We could cook wheat like we cook rice. That would leave out the pasta making process and therefor way less energy usage. If we soak the whole wheat before (like we soak beans), it would be even less energy usage.
Interesting thought. In order to use way less energy, we could start to use way more basic food for the most part of the week, and maybe - for preservation of culture and also for joy and taste - have one day where we feast "old school".
I think the energy could be dramatically lowered.
Also, because I today was buying kitchen stuff... there are double walled pots who save a ridiculous amount of energy as well, you need a quarter, not more. They are insulated. For whole wheat or rice, it's enough to heat up water to boiling temp, and then just switch off the heat and let the isolation do its thing. But instead of these very nice and useful pots, everyone has single walled ones, and most people are not even using the lid - which easily cuts energy usage in half.
Sadly, those double walled pots are rather rare and incredibly pricey.