It’s so simple and convenient. Once you’ve returned back, you don’t necessarily have to delete the eSIM from the device. The iPhone models that have had eSIM support allow you to have a total of eight eSIMs on the device. You can activate (i.e., turn on) only two lines at any point in time.
So even if you have two numbers where you live, you can turn one off, use that slot and turn on your travel eSIM and then later switch back.
All the eSIM sellers provide clear and detailed instructions on how to install and activate the eSIM.