There's medicine for everything these days, but affecting the chemical balance of your body is usually a bad thing and psychiatric drugs are usually doing a lot of harm. They are turning one disease into another, but nobody cares. People are usually happy as long as that new one has less symptoms, or symptoms you can handle.
A gambling medicine, if it really works, is probably a psychotropic drug that makes you feel more relaxed and unable to focus on gambling. I wouldn't take it.