Many people with this disorder are prone to violence and breaking the law since many of them are also consider psychopaths or sociopaths which is considered a personality disorder. What does the Church have to say about these people? They can’t always seem to control it sometimes and a lot of the times don’t think anything is wrong with them.
The psychological aspect can indeed be taken into account when dealing with behavior that is grave matter to help discern whether it is mortally sinful, venially sinful, or not sinful at all. To give you two examples from the Catechism:
2352 By masturbation is to be understood the deliberate stimulation of the genital organs in order to derive sexual pleasure. “Both the Magisterium of the Church, in the course of a constant tradition, and the moral sense of the faithful have been in no doubt and have firmly maintained that masturbation is an intrinsically and gravely disordered action.” “The deliberate use of the sexual faculty, for whatever reason, outside of marriage is essentially contrary to its purpose.” For here sexual pleasure is sought outside of “the sexual relationship which is demanded by the moral order and in which the total meaning of mutual self-giving and human procreation in the context of true love is achieved.”
To form an equitable judgment about the subjects’ moral responsibility and to guide pastoral action, one must take into account the affective immaturity, force of acquired habit, conditions of anxiety or other psychological or social factors that lessen, if not even reduce to a minimum, moral culpability.
2282 If suicide is committed with the intention of setting an example, especially to the young, it also takes on the gravity of scandal. Voluntary co-operation in suicide is contrary to the moral law.
Grave psychological disturbances, anguish, or grave fear of hardship, suffering, or torture can diminish the responsibility of the one committing suicide.