Yes. You can pretty much use any color you want for your background. Just use the eye-dropper/sampler to sample the color in the Chroma Key effect properties.
Although most green and blue screens are of a particular shade for a reason. They're very distinct so that they can be easily separated from skin tones and most clothing.