Best way to convert all lights on one switch, to one switch per room
I was about to say yes but if someone turned that switch off it would turn all the rooms lights off so if these are living spaces / finished  rooms it would not be to code.
If you made that location hot all the time  then broke all the rooms you could do that and it may not take much wiring depending on how your wires are run.