Only if you own the Digital License (purchased from Xbox Live Marketplace / Microsoft Store).
Xbox 360 games do NOT work on Xbox Series X|S via disc install if delisted from store (licensing). Check Official BC List before buying physical for Series consoles.