Will XCode break if I change AppleID?
You can log in to iTunes with multiple Apple ID accounts. In my case I have a personal account and a work account with dev access.

Once the xcode (or any app) is installed it doesn't case who's Apple ID is logged in, however you may have to do some bouncing between accounts if you have installed apps from both accounts and you need to update them. other then that two accounts works fine.