While it is possible to use solar panels to heat the water for a food truck, this is not as common. Solar panels are an eco-friendly source of energy, but they are expensive, and you will still need to have a backup generator.