No. Sonic Heroes (2003/2004) was released for:
It was never ported to Xbox 360. It is also not backward compatible on Xbox 360, Xbox One, or Xbox Series X|S.
To play on modern hardware, use the PC version (Steam/GOG) or original Xbox/PS2 hardware.