I don't see a problem running HDEOs in a gasoline engine....but you really gotta look at the specs.....make sure the diesel oil is API rated.....for one.....secondly, you want to use something that is "close" to your recommended oil weight....
I.E....Don't go running 5W-40 Diesel oil in a newer model Ford

Definitely would not work! Those engines have "tighter clearances" and you'll likely incur damage on cold starts (or so that's what the manufacturers want us to think....as they are specing lighter weight oils now....).
But yea, a good 15w40 HDEO, during the hot summer months can't hurt
Just change it out before the first cold front of winter......and yea, I've also heard of people "diluting" them down with say, MMO, etc...to thin down the weight a bit....not a bad idea really......MMO is, last I read, equivalent to a 10weight oil.... so it may knock it down a grade or so

Then again, lets keep this thread to strictly HDEOs