In WW2 Germany invented a way to convert coal into an edible, butter-like substance. I think it was very inefficient though (70 to 1 input/output ratio).
https://en.wikipedia.org/wiki/Margarine#Coal_butter
https://en.wikipedia.org/wiki/Margarine#Coal_butter