Hop,yes he can.
But looks like @Sadlercomfort wants to be flamboyant in his project.
Or maybe,It may be a project requirement to use a rotary switch.
I still think a momentary push button is the way to go, total software controlled,simplest and cheapest .
Say like:
Short push/release to...