Can i load Xwindows or Gnome after the initial install

I am trying to load Xwindows on a sun240 that was deployed without it. I have the Solaris 10 disk mounted and ready but I want to make sure that I can load a Xwindows using the pkgadd command. I know its a dumb question but I rather ask a dumb question vs scrogging the box