Yes, both these topics are highly interlinked. A person who positively accepts their body usually has a higher self-esteem and values and respects themselves more than someone who resents their body.