Yes, it should be possible.
Keep in mind that older versions (I don't know if this is still true) of mingw had X:\mingw hard-coded (X is any of the drives), so if you have another version of mingw in X:\mingw installed the mingw compiler supplied with the cb's installer won't work.