Under the U.S. Constitution, they could have. But that was not going to happen. Once they seceded, the new Confederacy firmly entrenched the institution of slavery in their Constitution.