Yes and no. Yes it is possible and is done all the time. No, it won't work if you don't have all the appropriate gnome libraries installed. If at your boot screen you can select gnome or KDE when you login, then you should be able to do it. If not, you'll have to install some libraries.
What distro are you using? Debian will have downloaded all the needed files when you installed the program via apt-get.