Yes. If you have Gamepass on the Xbox you can, for many games, choose between installing a game locally or playing it "in the cloud". It's quite frankly a fantastic feature for all those time you want to try out a game, but don't want to clear 100 GB of free space on your Xbox hard drive to actually download the game.