If you just want to toggle which eeprom is making the sounds, yeah it should work on the same principle.
If you also want to toggle which socket gets flashed, you can use a DPDT switch to connect/disconnect the PCB pins 5&6 to the sockets. I don’t have a perfboard layout. You don’t need any...