I did something similar recently and found it was an easy drop-in situation… so you’ll likely be okay.
I upgraded my CPU on my debian server. Went from i5-4690K and RX 480 to just an i5-12600K.
I could see a potential issue if the WiFi card is different and you’re not hard wired.
Seconding Lawnchair. Great FOSS launcher.