Food and Energy

Hypothetically speaking, could one survive without food, if one were to find an infinite source of energy that could replace food?

If you develop the Siddhi for it, in theory yes.

Prakamya Siddhi, to get whatever is being thought of or desired. The sages used to have this, they created food or any object on their desire.