Worth mentioning that apt generally asks if you want to continue after listing what it's going to remove so this ought to be safe to do, because you can always say no.
Caveat: It's vaguely possible ultra-rare configurations might blast through without asking. If in any doubt, backup or take a Timeshift snapshot, or whatever your system does, before adding or removing software. Overkill? Maybe. It'd only really need to be the first time before you know what your local apt does.