I would never suggest anyone with such a condition is stupid. In fact, the way you came up with solutions seems to me to be rather intelligent.
What I am trying to say is that with the proper motivation you should be able to train your mind to overcome the chemical/physiological conditions that you feel are adversely affecting you, up to a point. Physical damage that causes impairment would be beyond such adjustments, but if a condition can be controlled with external means (drugs), then it can be controlled with the mind. I am not talking about subtle motivations; in some cases, the sort of motivation that affects such changes might be as extreme as to be life-threatening, but the results should be just as real as any pill, and probably more durable.
I am certain there are conditions that would pretty much force you to focus your mind long enough to allow it to adjust. It might not be very pleasant, but it is doable. Just as sure as there are conditions that would cause a normal mind to experience a psychotic break, or develop a schizophrenic reality. Pavlovian conditioning takes time and patience, but it unequivically works.
_________________________
The ultimate result of shielding men from the effects of folly is to fill the world with fools.
-- Herbert Spencer, English Philosopher (1820-1903)