Isn't it possible that self-esteem isn't causal at all, but simply the happy side effect of a sturdy character, itself the product of unambiguous moral education?

Isn't it possible that self-esteem isn't causal at all, but simply the happy side effect of a sturdy character, itself the product of unambiguous moral education?