An eSIM works the same way a physical SIM card does. So, it doesn't affect battery life. However, I can't dispute that it might drain your iPhone's battery when you use it for cellular data. But this also applies to physical nano-SIM. However, your battery life might reduce as dual SIMs tend to consume more power.