The headlights should run on AC or DC, so you can run it off the battery. You could run the lights in parallel with everything. A capacitor could work instead of a battery, but it would have to be a REALLY big capacitor, and those are so expensive you'd be better off with a battery.