That seems unnecessary. When testing I use symbolic links to switch between configurations. The config I need is linked to printer.cfg, then all that is needed is a restart of Klippy.
Edit: Scratch that, it is how I used to do it but it doesn’t play nice with SAVE_CONFIG. Now I use a systemd environment file and change the name of the config file when I want to swap. Alternatively I create a symbolic link to klippy.env from an environment file that contains the full arguments I need to launch Klippy.