But if I understand correctly, yes. You own the copyright on the code. The license is what gives other people the right to use that code. But you don't need a license - you own it because you wrote it.
So if you want to make it available under another license, you can do that. In fact, there already exists software that is done exactly that way.