I installed Windows 11 and Visual Studio 2022 on my Mac Mini M2 and it works like a bloody charm. It's not as fast as my main Windows development machines, but it's 100% functional and operational.
Bonus: I'm running Little Snitch on the OSX side, and it does a brilliant job of stomping all over Microsoft's telemetry.
That's an Arm version of Windows though. The main reasons to install Windows revolve around the need to use Windows only x86/x64 versions of drivers or software.
There is no M2 version of Visual Studio. The version of Visual Studio 2022 I installed was x64. I have some other x64 software installed as well (Notepad++, AWS CLI, git, etc.) and all of them work just fine under the ARM version of Windows 11 running under VMWare Fusion.