Generally, no: ordinary indoor lighting gives the skin too little of the light it needs to make vitamin D. That light is called ultraviolet B, or UVB. A kitchen can look brightly lit during evening chores without providing enough UVB for vitamin D production.
An after-school pickup or an office commute can bring part of the day’s outdoor exposure. The useful distinction is between time spent outside in daylight and daylight noticed from indoors. An indoor routine can mean fewer opportunities for UVB to reach the skin, but the routine alone does not tell us how much reached it.
Evening light can still have an effect through the eyes. Visible light helps set the body clock and can change sleep timing and the release of melatonin, a hormone that signals night. This response does not depend on the skin making vitamin D.
A change in sleep timing is therefore not a measure of vitamin D status. A blood vitamin D result and a measure of the body clock answer different questions. The idea that evening light interferes with how the body uses vitamin D remains unproven.
Commentary
If evening reading on a screen affects sleep, what does that tell us about vitamin D?
It does not show that vitamin D function has changed. In a controlled study of people using an e-reader in the evening, researchers found later body-clock timing and reduced melatonin. Those findings concern the timing of sleep and wakefulness, not how the body uses vitamin D.
Does the type of lamp tell us how much its light will affect the body clock?
Not on its own. The mix of wavelengths matters, but so do the brightness of the light reaching the eyes, the time of day, how long the exposure lasts and the light the person encountered earlier.

