Well, yes and no. 30 years ago I had a troopie with a 4l inline diesel engine. It happily ran on canola oil, which I used back then when diesel was dearer than canola oil.
But I would not dream about putting that stuff in the tank of my modern 3l diesel engine car. Must not upset the computer in there, doing it's DPF thing.
Wish I had an electric car, but none will tow my caravan long distances outback where there are no charging facilities.