Does Sony Xperia 5 IV support eSIM?

Yes. Sony Xperia 5 IV supports eSIM, so you can install a travel eSIM and use mobile data abroad without swapping your SIM card.