The only thing is that the outcomes of natural selection must occur within the bounds of energy availability. Basically there has to be a mechanism in place by which those that would choose to beat up on their neighbours are beat up on by the whole group. This can be very complicated. However, it has nothing to do with energy efficiency. Natural selection bounces off walls set by physical limits.
Natural selection has nothing to do with optimizing any physical criterion.
Morality is about choosing right action. The observations do not give us good and bad directions. We can see what is, and from there we need to decide on 'ought'. No Arthur, you have not presented the logic of how it could work. You then make what I see as the mistaken connection that survival of the fittest is about energy efficiency.