Do doctors know what drugs are dangerous to the brain if taken over a long period of time as prescribed?

Do doctrors know. Yes I would say doctors have to learn about the effectiveness, side effects, and indications and look for any effect on the brain or any other organ doctots are trained and are supposed to know.
YES. Our training includes knowing what they do, good and bad.