Providing that your Samsung device is newer or the same as the Samsung Galaxy S20, your phone should be compatible with an eSIM.
If you would like to check this, you can do so by following these steps:
1. Go into your settings and scroll down to the bottom where you will see the section "About phone".
2. Click on the "About phone" section
3. You should be able to see your Device Model here.
If you are still stuck, visit out page to see if your device is compatible here: