Yup! Happens all the time.
I frequently “fix” systems by telling users to apt install ubuntu-desktop^
to re-install the task. It’s surprising how much gets put back which was missing.
This has been an issue for many years dating back to scripts people used to use to trick out their systems. Anyone remember automatix?