Yes, just create a gcode file containing your macro gcode on the usb drive, and run it like you would a normal job
Also note we have one here too, if your's doesn't work: Getting started with Javascript Macros in CONTROL / Library of Macros created by the community