Hello, Does anybody knows if is it possible to have the same electronic to

Hello,

Does anybody knows if is it possible to have the same electronic to drive APA or WS led strip with the right option selected in a menu and store into EEPROM.
I was thinking to have the DEL kind stored as an array typeOfDel[0] that match WS2812S, then typeOfDel[1] To APA102C etc. Of course, depending on the kind of DEL the clock signal will drive the DEL or not (but FastLed manage this). On device value change, we can imagine a store in EEPROM, then a software restart to set the right prototype accordingly the the typeOfDel index.

Does anybody knows if that could works ?

Thanks a lot!
Christophe