The latest Xbox and PS consoles are basically x86 PC’s with a AMD CPU and a locked down operating system. The Xbox uses a system based on Windows 10 (games are running in separate OS containers, basically Window VMs in HyperV) and the PS is using Sony’s Orbis OS, what based upon FreeBSD.