It could affect rheumatoid arthritis, but not likely osteo.
Which do you have?
I've never actually got an official diagnosis on that. I think it is rheumatoid - the joints at the wrists and the big toes are swollen. The wrists don't hurt, but the ones at the big toes are painful if too much pressure on them. I have to wear oversized shoes to relive some discomfort. Recently, the joints on my fingers are now starting to ache.
I'm 67, and I was on the carbamazepine for 20 years, which is suspected to destroy vitamin D. It is not clear when searching this issue about the drug interacting with the vit D, or lack of vitamin D would lead to arthritis.