Yes. I have a macro that does exactly that.
But before we go there, why do you want to do this?
If you just want to reuse the same script in multiple Macros, save the script to a compiled script file (.scpt), and use that file in the Execute AppleScript action.
EDIT:
I have just posted my script: