You can throw some in a diesel tank and run it through a diesel engine with no problem,
as long as it doesn't have
water in it.
You might want to add some 2-stroke oil to compensate for putting such a thin fuel in there, add lubricity, thicken it up some.
But that's a good idea even when you put diesel in the tank.
There is another post about this and someone didn't like my idea but wouldn't say why.
But it's pretty common to mix things into diesel fuel.
Old gas is better than some stuff they mix with diesel.
ATF, vegetable oil, used motor oil, old gas especially old 2-stroke gas because it already has the lube in it, etc.