Sounds like you’re specifically asking about Xbox Cloud Gaming rather than just Game Pass. The latter is typically installed and run locally, just on a subscription rather than purchased product.
I was about to post the link above, along with the following…
Flight sticks and other non-standard controllers are not yet supported on Xbox Cloud Gaming. Microsoft Flight Simulator can be played on an Xbox One console via cloud gaming using an Xbox Wireless Controller or Xbox-licensed gamepad.