IF you could locate a condulet that was identified for containing splices, and of sufficient size (CI) for the conductors....no problem.

Please keep in mind the sparky that will have to do this, IF you locate a compliant condulet.



John