If the batteries are connected in parallel, and the bulb is rated for 12VDC then the bulb will be fine. Keep in mind that a charging 12V battery bank will be at a higher voltage while being charged though. Most items rated for automotive type use can handle that higher voltage. The internal resistance in the bulb will hold the current down if the incandescent type bulb is operating within the voltage parameters for which it is rated. Rich