That high-frequency AC constant-brightness circuit is covered in Peter Thorne's "Practical Electronic Projects for Model Railroaders", from which I built the very throttle I use today, even though that book came out in 167 B.C.
(actually, 1973, I believe).
Love that book, by the way.
If you do find a commercial high-frequency AC circuit to drive your headlights (or build one), I am wondering about using that
on coreless motors. They don't have the high inductance of a conventional motor, so I'm worried that the AC will not
be "invisible" to them and ruin them. I confess, I am rusty on my motor and inductance theory since college, so maybe
somebody else can help out here. Will, say, 20 kHz AC at 6 volts or so cook a coreless motor?