Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
There is no easy way to do this via rules because rules don't offer anything to work with repeating data (i.e. you cannot inset or delete rows, or easily copy multiple rows of data).
Code is the only way this can be done. Qdabra Software's tool 'QRules' provides a code backend that does all this work for you, but provides you an easy rules-based front end. It can insert/delete rows, copy tables, etc., even between the main and secondary data sources.
You will want to evaluate any special requirements needed if you use QRules and your form is web-based hosted on SharePoint.