It depends
Needlessly injuring your own body is forbidden. Some rabbis allow surgery if it relieves emotional suffering, others are strict.
Source: Responsa Igrot Moshe, Choshen Mishpat 2:66
Body · Is it allowed?
Needlessly injuring your own body is forbidden. Some rabbis allow surgery if it relieves emotional suffering, others are strict.
Source: Responsa Igrot Moshe, Choshen Mishpat 2:66
A simplified overview based on traditional halacha. For real religious questions, ask a rabbi.