On Intel-based Macs, yes. Boot Camp installs a full copy of Windows on a separate partition, and once you reboot into it the machine behaves like an ordinary Windows PC — so anything your hardware meets the requirements for will run.
The important caveat is Apple Silicon. M-series Macs dropped Boot Camp entirely, so on a current machine your options are virtualisation tools such as Parallels, cloud gaming, or a port and compatibility layer like CrossOver or Whisky, all of which have varying levels of support depending on the game's anti-cheat.
Either way, check the system requirements first. A MacBook Air was never going to run a demanding AAA title well, regardless of the operating system underneath.