I don't think so. If the tag specifies an external file with 'src' then I think the content of the tag is ignored. This is speculation though, try it with a simple test case (alert() is your friend) and see what happens in various browsers.
Why do you want to change the type? If you do so you're likely to just cause problems with browsers not handling text/ecmascript.