No, but both of them have at least an order of magnitude (maybe two) more video game players on their flagship platforms (Switch and PS5) because it's solely for playing games, and the engines that are used have tooling to directly support the consoles.
Not so for macOS.