No. Modern Xbox consoles (One, Series X/S) do not support System Link (direct LAN play between consoles without internet). This feature existed on Original Xbox and Xbox 360.
Worked via Ethernet crossover cable or switch. Games: Halo 3, Reach, 4, Gears 1-3, CoD 4-MW3. Required same game version, no internet. Not forward-compatible.
For true offline LAN today, use PC (Steam/LAN) or Nintendo Switch (Local Wireless on supported titles like MK8D, Splatoon 3, Smash Ultimate).