How to convert physical sim card to eSim?

Has anyone tried converting a physical SIM to an eSIM?