WetGeek The only safe way to do that is to install one in a virtual machine on the other system.
The last time I did this successfully without using a VM was on openSUSE. All the packages needed for all the available DEs were listed in categories named for the DE, in the list of available packages. Multiple DEs could be easily installed at a time, and one of them chosen at login time.
I never had a conflict doing that, but after trying other DEs, I pretty much settled on Plasma, and stayed there.