Hey,
Currently no iteration activities except Filter is supported within IF activity across ADF and synapse.
In case if you need that, then please follow the below process:
1) create a pipeline with the ForEach logic
2) use Execute Pipeline activity within the IF activity and call the pipeline that contains ForEach