They have made 12 volt incandescent bulbs for many years. They have the same base as a standard lightbulb, and fit the same sockets. They are used for campers with 12V lighting, and 12V trouble lights that clip on a car battery. Being incandescent, they drain a battery pretty fast. Thus LED would be much better.
We now can buy 120V AC LED bulbs that will fit any household socket. But do they make a similar bulb that uses LEDs, runs on 12V DC and screws into a standard socket?