This reminds me of US research that was done during the Cold War about surviving a nuclear winter by producing food products directly from petroleum. It's theoretically possible and you could survive on it as a supplemental source of calories. I think optimizing farming for space flight is probably better, especially if you have always-on solar power (as you do anywhere near the sun) or nuclear power. Hydrocarbons fr…
https://en.wikipedia.org/wiki/Margarine?wprov=sfti1#Coal_but...
https://www.sciencehistory.org/stories/magazine/brave-new-bu...
Edit: The more I read on this the more doubtful I’m becoming that this was actually produced at scale. If anyone has a better source I’d love to see it!