I don't think you can do that with any phone, though. Given that the eSIM is a programmable SIM soldered onto the motherboard, you can always only have one connection active on it at a time.
https://support.apple.com/en-ae/118227
> You can have two eSIMs active at the same time on supported iPhone models. For example, you can use one eSIM for your home phone number and another eSIM for the place you're visiting.