Reconfigurable battery stack AD8280 design.

Is there a way to design a reconfigurable (i.e. via microcontroller FW and some analog switches) AD8280 design in order to implement one board for 3 to 6 cells connected in series? The number of battery stacked should be a FW hard-coded parameter.

Thank you very much indeed in advance.