I am converting an existing single switched light/fan combo to separate switches for each function. There is already a light/fan combo on the circuit, wired with 14/2 Romex. Power comes in at the switch box. The existing fixture branches off of that power. The switch is in the middle of the run, so power also continues from the switch on to several outlets down the line. The circuit has a 15A breaker and the circuit is wired with 14 gauge throughout.
My question is this: is it permissible by code (local code is NEC 2017) to use 12/3 gauge wire to power the light and fan? Are there any additional considerations I need to take into account?