Is it possible for a program to make new settings?

To enter the settings name, type, scope, value?

If yes how?
If no what would you advice me to do instead?

Thanks