The pulsing is AC ripple on top of the 28 volt DC that the alternator is putting out, at 6X alternator RPM. A battery will not smooth it out very much, but you won't see it with your eyes. Your devices are 40 amp, not 40 watt. If they give you a capacitor specification for automotive use, I'd add the cap. They are designed for true DC, from a battery or a solar system, but are also recommended for automotive use, so they should be fine. How many are you using? Typical halogen headlights are 65 watts each, about 5 amps, so four are total 20 amps.
So, $300.00 for converters for headlamps ?
I've been using this https://amzn.to/2TZgHwk with good results so far. It cleans the 24v to a nice 12-ish volts.
...That's what a capacitor or a battery does. ...Jim
I take from this that you're saying the batteries should be able to smooth things out enough to run the headlights without problems?
They should work great for driving in daytime. Once you experience a good set of led headlamps, you'll throw all that in the can.