Yes. A lamp or screen can change your body-clock timing without changing how much vitamin D your skin makes, because the two effects use different pathways.
Visible light reaching your eyes helps set your body clock, which helps time when you feel ready for sleep. Evening light from a lamp or screen can shift that timing under some conditions.
For your skin to make vitamin D, a different kind of light called ultraviolet B (UVB) must reach it. Ordinary household lighting generally supplies too little UVB for that purpose, even when its visible light can affect your body clock.
A shift in sleep timing alone cannot tell you whether your vitamin D level has changed. When you feel ready for sleep is not a measure of how much vitamin D is in your blood.
Commentary
Could spending more time indoors still reduce how much vitamin D my skin makes?
Yes, if your indoor routine means less outdoor UVB reaches your skin. What matters is the sunlight exposure you miss, not just the number of hours you spend indoors.
If my body clock shifts while my vitamin D stays the same, does that show a harmful mismatch?
No. Body-clock timing and vitamin D can vary independently. That alone does not mean your body is getting faulty information about the season. To establish harm, researchers would need to define the proposed mismatch, measure it and show that it affects health.
Could the same evening lighting go with different vitamin D production in summer and winter?
Yes. Even if you use the same lamp each evening and spend the same amount of time outdoors during the day, your skin may receive less UVB in winter than in summer. How much UVB daylight provides depends on the season and how far north or south of the equator you are.
If the lamp makes no extra vitamin D in my skin, could my vitamin D level still change?
Yes. Even if your sunlight exposure stays the same, changes in the vitamin D you get from food or supplements can affect your blood vitamin D level independently of the lamp.

