I am curious if there are any sources (halachic or hashkafic) that discuss the use of mood or personality altering substances. From Caffeine or Chamomile tea all the way to psychiatric medication, are they tools for serving Hashem, or were we created a certain way and should focus our efforts on managing that reality using our own forces?
[Edit: Specifically, I'm curious about substances that make a person more functional and makes their perception of reality more accurate, like substances with anti-anxiety properties for someone who is anxious, as opposed to hallucinogens, which are a different subject. Should we accept our personality extremities as G-d-given and work to direct them psychologically, or do substances have a role to play in that management.]
Thanks!