Electrical circuit question
As long as the junction box is not over filled (as per code), the connection device (Wire-Nut®) is properly sized for all the wires, and the junction box remains accessible. There's no problem wiring the circuit in such a way.