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.
Most high capacity drives are CMR, if that helps.
https://nascompares.com/answer/list-of-wd-cmr-and-smr-hard-drives-hdd/#WD_CMR_SMR_drive_list
Compare this with Backblaze drive stats to get a reliable product:
https://www.backblaze.com/blog/backblaze-drive-stats-for-q3-2024/
Drives failures vary by model number more than by manufacturer. Buy seller refurbished drives from serverpartdeals if you don’t want the companies to get your money.