Is it possible to complete NextcloudPi activation from the terminal?

Do we have a terminal-based activation process for authorizing user / webui username and password upon installation?

You can reuse the python activation test, change it a little so it saves the login to a file or use as-is, if the purpose is only to test the activation

activation_tests.py