This is quite an interesting premise. Tip of the hat to TC for the pointer.
Consider the following:
"According to a new study in Psychological Science, humans engage in a process called “moral self-regulation.” Basically, we’re constantly calculating the trade-off between being able to see ourselves as good people and the cost of engaging in all that non-advantageous goodness."
Read more here