I have a Catalina upgrade policy without --eraseinstall in the command. So computers running 10.13 or 10.14 can do in place upgrade to 10.15. No problems.
I'm wondering if the --eraseinstall command is also added will this then result in the computer to then be unenrolled? since it's being erased I would think so, but I haven't tried it yet.