Firstly, please note that a Script Component is different from a Script Task – the names are not interchangeable. You are talking only about script tasks here (script components appear only in data flows).
You can't do that. Instead, you may be able to use the script task (or the Expression task) to set variables which are used by your FOR container.
Or you can add another script task within the FOR container.
The FOR container can contain the SEQUENCE container.