Yep, that's the question, short and sweet. Is it possible to let the player change the controls during run-time?
Develop games in your browser. Powerful, performant & highly capable.
If you're using custom controls, you're using events to call the 'simulate control' actions. I guess you could enable/disable different groups of events with different control sets at runtime.