The noun self-affliction can be countable or uncountable.
The singular form of self-affliction is also self-affliction.