I wrote an auth module for FreeRADIUS with Python.
I want to manage a NAS with it.
Is there way except generating a client.conf file and restarting?
Not directly no. You can use sqlite if you want an easily modifiable local data store for clients definitions.
Can I define RADIUS clients with Python?