Is it possible to create a loop inside a stepper

Hi Team

Is there any way to add a loop inside a stepper for information gathering, the scenario is im converting an automation we have for setting up cloud based email filtering.

The PowerShell script asks via input if there are additional domains needing to be added and if yes it just adds each domain to an array.

Below is how i have it displayed in the step but instead of just “Back” & “Finish” is there a way to add another button “Add Another” and it loops through however many times as needed to add all the additional domains

image

Regards

Rhys