Running multiple parallel individual lines vs branching off a junction box.

I have a couple outdoor overhead lights on my porch and currently they each have their own romex line running through the attic and down into a box where the lightswitch. The issue is that the box is becoming very crowded with wires, especially since the previous owner installed smart switches, which are even deeper than normal. Is there any reason why I can't run short lines from the lights to a junction box with a blank cover in the attic, and then run a single line down the light switch?

This would save a good amount of wire and space, but I didn't know if there was a particular reason it was installed like that.