Which version of EAP/wildfly are you using ?
A full restart would not be required after adding a new datasource.
Please give it a try and let me know if you face any issue.
first thanks! I am using Wildfly Community 14 and I have to add dynamically new XA datasources.