Yes, they could, but no significant part of OpenSolaris was GPL -- it was all, as much as possible, CDDL. When Oracle killed OpenSolaris that did not cause the previously CDDL'ed code to be no-longer open source, and indeed, there was a fork: Illumos.