Some carriers (for example, all the major carriers in the U.S., Telekom in Germany, and Vodafone in Australia) have eSIM "Quick Transfer", which requires no contact with the carrier at all:
https://www.t-mobile.com/support/tutorials/device/apple/ipho...
It's just a series of steps that you do on both phones, not that different than transferring a physical SIM.