There are a lot of variables here on what is and is not allowed by the electrical code. I would suggest consulting a professional in your area. For example when adding a sub panel to a separate location (commonly a detached garage) the code requirements can differ depending on how far it is from the main structure. (I forget the exact distance in question, but I think it is something like more or less than 75 ft apart)