There is little hard evidence for the benefits of it. The cited paper is very very soft
https://en.wikipedia.org/wiki/Hydroxychloroquine#Adverse_eff...
vs
https://en.wikipedia.org/wiki/Vitamin_D#Excess
As long as you aren't pregnant and don't overdo Vitamin D, you'll be fine.