Providing that your Sony device is newer or the same as the Sony Xperia 10, your phone should be compatible with an eSIM.
To check your device you can follow these steps.
Check My Sony Model
1. Go into Settings.
2. Scroll until you see About Phone.
3. Here you can see the model number and your Xperia ID.