It's definitely possible to take too much Vitamin D. Fat soluble vitamins - A,D,E and K - can cause problems if you take too much because they accumulate in the body. You can take as much B, C and others as you like, you just pee out the excess.
Read: https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-healthy-eating/expert-answers/vitamin-d-toxicity/faq-20058108