If the word "pleasure" is interpreted to mean "consistent with personal ethics, beliefs, values, expectations, attitudes, goals and habits" then I guess doing what I did could be claimed to be consistent with my "pleasure". However, I guarantee you it did not feel like pleasure.
If you got personal satisfaction from doing what you felt was the right thing to do, that would align with Epicurus definition of the spectrum of pleasure.