You can do it via LISP and also have LISP execute your script.
(command (addreport "REPORT NAME" (ssget)))