I remember hearing a story of how a rabbi had, prior to the discovery of electricity or creation of the light bulb (my memory of this story is vague), access to a light bulb which he used to learn throughout the night or something along those lines. Has anyone heard of such a story?
I doubt that's true. They used oil lamps. Here is a story in the Talmud:
If not for Ḥananya ben Ḥizkiya, the book of Ezekiel would have been suppressed because its contents... contradict matters of Torah. What did he do? They brought him three hundred jugs of oil up to his upper story and he sat there until he homiletically interpreted [all problematic verses in Ezekiel and resolved the contradictions]. [Shabbat 13b]