No, energy and food are statically ressources. Food has the extra it is consumable, if you have food in minus your units will die.
But it is nothing other as simple mtahematics:
Cow: cost -10 food.
= Produce cow you will lost -10 food. = X-Food+10 Food. !
...Cow die = X-Food--10Food-10Food = X-Food-10Food...
An "Auto-produce" is not possible yet.