The PS5's optical drive is paired with its motherboard[1]. If you replace it, even if you take the disk drive from another PS5, it will not be able to read your PS5 game.
I imagine that 20 years from now you are going to have a hard time finding a working PS5 with its original disk drive.
I imagine that 20 years from now you are going to have a hard time finding a working PS5 with its original disk drive.
[1] https://www.ifixit.com/Teardown/PlayStation+5+Teardown/13828...