I don't see where this would be any more cause for concern than a main panel backing up to an exterior wall. They are both subject to a "slight" amount of moisture in the form of vapor, but both are code acceptable.