Providing that your Motorola device is newer or the same as the Motorola Razr (2020), your phone should be compatible with an eSIM.
To check your device you can follow these steps.
Check My Motorola Model
1. Go into Settings.
2. Scroll down until you see the option System.
3. At the top of the list you should see the device model / name.