That’s possible, but I haven’t done that.
I usually have an EEPROM struct with a magic number and a checksum to check if the values are valid and if that’s not the case revert to a known good state in code.
That way you are even safe in case of EEPROM corruptions and it provides an easy “factory reset” path too - just invalidate the checksum, write that back to EEPROM and on next reboot the defaults will be re-applied.
With the DFU method you only got the first time data in place, but the rest would have to be implemented anyway too.
My method only requires any serial terminal to “inject” the data, unfortunately CLI does not (yet) support serial data entry.
But one easy command to “upload” the settings via USB serial would be a simple text file that is sent to the respective COM port with native OS commands.