Xbox Game Pass Ultimate comes with the standard version of EA Play, and it's not compatible with EA Play Pro. The EA Play app is available on Xbox, PlayStation, and PC. There are also two standalone versions of EA Play that you can buy: either EA Play, which is $5 per month or $30 per year, and EA Play Pro, which is $15 per month and $100 per year.
You can do this through EA Play, which EA's dedicated game subscription service that is also an included add-on through Xbox Game Pass Ultimate. Since The Sims 4 isn't available on the Google Play Store or Steam, you'll have to stream the game to your Chromebook through the internet. What you need to know about playing The Sims 4 on a Chromebook