It's not just vitamin D, it's other things too (e.g., NO -- https://pmc.ncbi.nlm.nih.gov/articles/PMC10539323/).
But yes, one can have too much of a good thing in this regard.