Hello Gabriele,
That sounds like it would probably work.
Some things to note:
1. The state would also need to be reloaded (and the representation might be different, depending on how you are changing the domain.)
2. If you are using them, the knowledge base keeps track of timed initial literals, and those will be cleaned out as well (and will need to be reloaded with correct times.)
3. Any already-generated problems and plans might no longer be valid with respect to the domain.
4. Action interfaces, which handle state-update in stead of some sensing nodes may also need to be relaunched to re-read the domain details for their PDDL operator.
I think 1&2 are probably of least concern to you.
3 should be OK, as long as you are careful how the rest of the system is used.
4 might cause strange effects (like new action effects not being applied to the state after the domain is relaunched.)
Best regards,
Michael