Hi infox24;
That is currently not supported; autoptimized scripts are now either put in head or at the end of the HTML (footer). Having something like what you describe is on the list of things that might be added in the future though (and if you're into coding, you can help making this happen sooner).
Have a nice Sunday,
frank