Yes. If illness or reduced activity means someone spends less time outdoors, their skin may get less of the sunlight it uses to make vitamin D.
As getting around becomes harder, time outdoors may gradually decrease or become more seasonal. How routines change depends on the person’s health, independence and social circumstances.
Time outdoors is only part of the picture. What someone wears also affects how much skin is exposed to sunlight.
A population trend describes what happens across a group. It does not tell us how much sunlight one person gets or what their vitamin D level is.
Commentary
Can someone’s sunlight exposure change even if their ability to make vitamin D stays the same?
Yes. A change in routine can mean less sunlight reaches the skin. That is a change in exposure, not evidence that the skin has become less able to make vitamin D.
Does a short spell of reduced activity tell you what someone’s usual sunlight exposure is like?
Not on its own. A spell of illness describes one period; usual exposure reflects outdoor routines across seasons and over time.
Why might two people of the same age have different histories of sun exposure?
Where they have lived and how they have spent their days can differ. Over decades, differences in work routines and time outdoors can add up, even for people born in the same year.

