It would have to be a very old engine. I was working on diesel powertrain, in the 90s, after all. People dump rape seed oil into their diesel cars, sometimes, but I don't recommend it. And you'd need a heck of a lot of oil, for those old diesels. Probably better off with a steam locomotive burning coal, really. Anyone with wood can produce coal, and we live in a big forest.