Short answer for Diesels is yes. There are a few of them that have this feature. It needs a 3rd party script for the loco and some mods to the config. Like adding ref to script and class, a product queue for the fuel and possibly some tags to an extensions container - depending on whose script you use.
There may be some locos on the DLS with this feature. TPR has a few in their downloads section. I don't run diesels but I did write a script for this - about 15 years ago. Some of them out there are based on it at least in part. I put it out there for anyone to use or modify with only one restriction - it can't be used in any way with payware. No fancy features in my script. It just consumes fuel and shuts engine down when it runs out. Some add all kinds of start up and shut down procedures and iirc fuel gages in the cab. With mine you had to view loco details and check the fuel queue but there's code provided for a low fuel warning.
You didn't post a link to the guide so can't comment on that.
Long answer is it might require some merging of loco scripts if the loco already uses one for other customizations - won't go into that as it depends on the scripts that are used.
Bob Pearson
PS. I started looking at an update to my old script several weeks ago but don't know at the moment when it might get finished. I seem to get interrupted frequently and find as I age I'm more easily distracted from working on the task at hand.