Probably be better off just getting a new laptop with more gaming power. Changing the CPU in current laptop might have very limited benefit, if it can be done at all. Also some laptop CPU's are soldered in place making the change risky if a person does not have soldering skills.
Asus ROG Crosshair VIII Dark Hero-Ryzen 5950X-Noctua NH D15 Chromax Black-4x8GB 32Gb GSkill DDR4@3800-Asus RTX 3070 TUF OC-Solidigm P44 Pro 1TB-Solidigm P44 Pro 2TB-Super Flower 1000W Leadex SE Platinum