I have an existing ceiling junction box feeding a ceiling fan (with lights) that I'm replacing with a flush mount ceiling fan (no lights) and plan to add four recessed lights controlled by a separate switch. The ceiling junction box currently has four 14/2 cables in it. (One feeding power in, two taking power to ceiling junction boxes in adjacent rooms and one is the switch loop for the fan.)
I need to add a cable for another switch for the recessed lights so rather than cram a 5th cable in an already crowded box I was planning on installing an attic accessible junction box on the joist next to the existing box. I'd move all the connections to this box (Power in, two cables feeding other boxes, new cable to the fan/recessed light switches.)
Assuming I use appropriate boxes, connectors, grounding, etc., are there any obvious flaws / concerns with this approach?