Yesterday I swapped LogicBoard from a battered, 40bucks-cheap, early2009 2,93GHz 15" MBP5,1
to my late2008 2,8GHz 15"MBP5,1 which suffered GPU-failure (NVIDIA GeForce 9600M GT).
Good fun! (fortunately everything still in working condition with 'new' LogicBoard and SpringCleaning.)
Installing OCLP/Monterey worked fine.
OCLP/Sonora too. (SonoraInstaller refused booting on first attempts on a prestine HFS+/SSD. Then, after having installed OCLP/Mojave and blessing the SSD's BootRom, installation of Sonoma was successful.)
The MB(P)5,1 is the most volatile Macbook I can think of: able to boot everything from OSX-Leopard to Dosdude-patched Catalina up to the current OCLP-patched Sonoma. That's a fully 16y lifespan plus about 4-5y Sonoma-support. Unbelievable.
Nevertheless I keep sticking to my mid2012 2,3GHz 15"MBP9,1/Mojave as my daily driver because of a lot of reasons ...