Yes, you can overclock Windows 11/10 using some special tools mentioned above. Although it is legal to overclock your own CPU and GPU, you cannot sell it without informing the buyer. Apart from that, there is no other issue when it comes to CPU or GPU overclocking.