There’s a very significant difference between indulging in any pleasurable action - be that eating, drinking, exercising, having sex, sleeping, masturbating, playing video games, watching television, surfing the internet, etc, etc - and practising this action obsessively, to the exclusion of other activities and to a point where it interferes with one’s normal, expected functioning.
None of these activities are ‘disordered’ in and of themselves, and most of them are actually beneficial. Why should self-pleasuring be considered a bad thing, just because it’s not sanctioned by the Church? If anything, the kind of obsessive guilt that Catholic beliefs can inflict upon people is far more harmful than the condemned actions that might give rise to it.