Yes but the truck has the merit of almost no EXTRA maintenance, beyond that required for normal driving.
No fuel cans to rotate, normal consumption and regular filling will take of that at no extra cost or trouble.

Not certain how the fuel consumption would compare, the truck has a much larger engine than is required for the electric power output, but OTOH it does not run continually.