It is not recomended that you put a junction box in a point you can not find after the job is done. The reason being if you dont connect it correctly you have a fault you cant get at. But in saying that what you are doing doesnt pass code anyways so if you make absolutely certain of your wiring then who is going to know.