Although technically it is already possible by saving it to js file and point the src attribute of the flow script tag to it, we haven’t made the editor yet aware of it. So you won’t be able to edit it afterwards.
We will be adding this functionality to the editor also after our summer break.