This is possible and does not require any scripting, just a technique known as 'recordset shredding'. Take a read here, if you'd like to know more.
It assigns the values to a package variable for each loop iteration, and, of course, you can assign these variables to derived columns in a data flow.