Yes. Microsoft has put a huge amount of effort into ensuring that the bulk of the Xbox One, Xbox 360 and original Xbox libraries are compatible with the Xbox Series X and S. Not every game will work on the console, but the vast majority do, and most of the time they automatically look and run better than they ever did on the older hardware.