Providing that your Google device is newer or the same as the Google Pixel 2, (only phones bought with Google Fi service) your phone should be compatible with an eSIM.
To check your device you can follow these steps.
Check My Google Model
1. Go into Settings and scroll down until you see the section About Phone.
2. At the top, you should see Device Name. Here you can see which phone model you have.