installing TWRP will indeed prevent you from using the OTA. When you uninstall Magisk, it will not restore the original boot.img but the modified one. Thus you must not install TWRP if you want to go this route.
I’d expect that removing system applications modifies the system partition, thus OTA will fail for that reason too.