Diesels are low RPM, very high torque so their combustion is inherently slower than a gasoline engine. Making that combustion more energetic by making the fuel more energetic simply won’t work. What you can do is simply stuff more fuel/air into the mix with a turbo or supercharger, which diesels often use.
BTW, nitromethane actually provides LESS energy per unit weight than gasoline. It is used in top fuel dragsters because it also requires much less air to burn - gasoline requires nearly 9 times as much oxygen for combustion as an equal weight of nitromethane. This means that you can cram that much more fuel into the cylinder and have it burn, more than making up for the fact that it doesn’t provide as much energy in proportional terms. A top fuel dragster consumes about a gallon and a half of fuel PER SECOND under full throttle, for a 500 cubic inch engine.