Linux has been great for me. I've been using it full time for 2 years, and I did dual boot for 3 years before that. It's very good. You can generally install Linux on any computer, but sometimes there are not hardware drivers for obscure devices and it won't work 100% (for example, non standard stuff like fingerprint readers). So if you are not familiar with it, it's probably better to get a laptop with Linux preinstalled. There are a few vendors that are good. Though if you do research, you can get a normal Windows laptop to work, you just have to look into it.
On Linux you can build for both Linux and Windows on Godot. Technically, you can also build for Mac, but it won't work because of Apple's stupid security (you need a Mac computer and a certificate). Honestly I would get a Windows 11 laptop, these will be easier to find if you want a decent GPU for gaming, and then do research to make sure it will work with Linux. I like Ubuntu a lot. You can dual boot, so give half the hard-drive to Ubuntu and then reboot and switch whenever you want. For development, I built a second Windows 11 machine that I use for testing. But I do all my work on Ubuntu.
I find Linux just works better than Windows. It is more stable, it doesn't slow down after time. Mostly all the software is free. Good security. Good community. It does take time to learn. As I said, I spent 3 years dual-booting before I felt comfortable switching completely. If you just want to switch, it will be hard, I would recommend dual-booting at first so you have some options. There is a good amount of software on Linux, but not everything. For example, Photoshop only works on Windows and Mac. Though there are alternatives (GIMP, Krita, etc.) they take time to learn. Now I am much faster in Linux, but as I stated, it took years. So you have to think of it like an investment.
If you want to buy a Windows laptop, I would recommend getting an all AMD laptop (AMD CPU and GPU) as they work better on Linux. Also you have to check things like the network adapter and make sure it is a standard one (Intel network cards are great). The drivers on Linux are much better these days, almost everything works, but not everything. Especially with some cheaper laptops, they may use some off-brand parts that don't work. Also too much fancy proprietary stuff can cause issues (like fingerprint readers, touch screens, etc.). So please look into it before you buy anything.