Can too much of vitamin a and d be bad for you?

Yes. Water-soluble vitamins (b, c) being water soluble are easily eliminated from the body if excess is consumed. Fat-soluble vitamins (d, a, k, e) aren't as quickly eliminated from the body, but rather are stored in fat tissues and in various organs throughout the body. So toxicity can occur. See chart.