For sure. My truck is a 1999 F-350 7.3 PowerStroke Diesel. I ordered it from Ford and it cost me $27K. It currently has a little over 250K miles. At the time of purchase, Diesel fuel was a decent amount less per gallon compared to gas. That definitely factored into my purchase.
Previous to that I had a 1997 Dodge Ram 2500 with a 5.9 "Magnum" V8. When towing my Scrambler with a Lance Camper loaded on, I got almost double the fuel mileage with the PowerStroke and it climbed hills much easier.
Now it is common to have to use Biodiesel when filling up. Usually between 5% and 20% Biodiesel content. No issues running it but I think I get a slightly less mpg level.
This is a shot from 1999 fully loaded:
View attachment 112559