Arma 3 patch 1.58 introduced a sneaky little command:

According to the description anybody can have the traits of medical or engineer units and it can be done via scripting command. So this has me thinking about a mission without roles and where soldier roles can be assigned on the run as the mission progresses. It would be the ultimate dynamic organization combined with the squad manager.

For now I am simply thinking about addActions... I have not learned the user interface design in arma 3 enough to tackle it. I have been looking at an ancient code of group manager script by aeroson. Looking through his code I think I can come up something hierarchical. Lots of addAction managing is anticipated with some array of addAction IDs, etc... We will see.