I know that there are games like Forza Horizon that you can play on the PC if you bought them for the Xbox, Xbox is from Microsoft and you also have your account, so I can get all my purchased games via the Play MicrosoftStore for Xbox on my PC by logging in with the account?
If the game belongs to the "Play Anywhere" series, you can play it on "all" systems, regardless of where you bought it.