Pre-Civil War, for example. I'm in Richmond, VA, Capitol of the Confederacy. There are plenty of houses where, not only was the wiring added after construction, gas piping for lighting fixtures was added even earlier, but after construction.
Remember Patrick Henry's famous "give me liberty or give me death" speech? That happened at St. John's Church right here in historic Church Hill, Richmond. There are plenty of the kind of houses I'm describing there. Balloon framing, to boot.
I remember reading old books on wiring when I was a kid (physically, I mean) that described wiring of existing homes, from how to lift floorboards and remove baseboards, to boring holes with brace-and-bit and fishing wiring vertically between floors.
I can still picture the drawings in my mind about, for example, running a wire or cable from an upstairs attic to a downstairs baseboard-mounted old-work box. I've been doing this for over 35 (gasp!) years now, in Richmond. I've done it all.