I had a '70s gitane that must have had some wiring, came with a sidewall dyno. I was a racer wannabe at the time and took all of that stuff off. Someone here has identified the model, it had front and rear racks, fenders, and a dyno.
Lots of Dutch city bikes have built in wiring. I have one in the attic that has wires running through the frame.