Uninstalling will not affect your previous project files, providing they are inside the Magix folder within the Documents folder or on a separate hard drive.
If you do not need the space freed up by uninstalling, you can leave the older versions in place in case you need to go back to them, for example if an older effect is not available in MMS 2023.