I mean, if you are only doing it so you can feel good, you aren't doing anything other than eliciting a reward for an action.
that's somewhat of a nihilist view. why do you do anything out of free will? because it makes you feel good on some level, whether it's an act of kindness or adherence to some tenets you subscribe to. better that you feel good from acts of kindness rather than the opposite. in fact better that you feel good from it rather than following some code of ethics without any emotional involvement.