It is not forbidden to edit the files in the prebuild folder, but be aware that these files will be overwritten by an update of the custom client.
It is possible to edit the main.json (folder assets/config) file. But changes are overwritten by an update as well.
The recommended way is to write an own configuration service (see config.srv.ts from core module for template) and provide it to the custom client.