Storing user configurations with names and displaying

It’s not clear how to store user configurations - maybe writing to an internal JSON file you create and read them back and display in a list to select with and ASCII keyboard like display you can bring up to name things. Is that possible? Thanks.