Since the PS3 ran on modified OpenBSD, would it be possible to run physical disc games trough a disc drive on a Linux laptop by downloading the needed libraries? In what way would I need to modify the games/system?
Would the architecture play a big role? My thinkpad barely runs RPCS3 but can handle AAA steam titles.


No.
I’ve been saying for years that because the Switch uses ARM64, any game ported to it should theoretically run on iOS, Android, and macOS (on Macs running Apple Silicon; basically 2021 onward). That’s not the whole story, though. Nor does it much matter that the Switch was originally going to run Android, nor the fact that the Switch is just a modded Nvidia Shield tablet. There’s still a lot of hurdles between any given Switch game (even a simple one like Animal Crossing) and your Android phone, even if it is a full decade newer.
That said, emulation is easier on Mac and Android because you’re only emulating the software. You’re already on the right hardware. Gaming PCs also have to emulate the ARM64 hardware, but that’s fine because they tend to have the power to do so.
I was able to run the PS3 version of Rockband 3 at near native speed (if not native speed) on my M2 Pro Mac mini via RPCS3, but I’m sure a game with complex physics would have been more of a problem. Both my Macs run Switch (and 3DS) games pretty well.
But as for running natively… the Mac version of Cyberpunk 2077 exists because the Switch 2 version exists. So CD Projekt Red had to first modify the game to run on ARM64. They then built it for macOS, and for Switch 2. At this point, nothing really stops them from porting to iOS except maybe hubris (“our game is too powerful for phones, never mind phones that outclass the Switch 2”). Nothing stopped Bethesda from porting Skyrim to macOS, Android, or iOS, except greed (they instead made the microtransaction heavy Elder Scrolls Blades for phones).
But as far as trying to run PS3 games natively on Linux because the design of the PS3 used some Linux code? Nope, not happening. At best, it might make emulation easier. But you would still have to emulate.