Yes, one can repent of moral transgression. The miracle of forgiveness is real, and true repentance is accepted of the Lord.

– Ezra Taft Benson