Yep!
If you use a split front-end/back-end solution, you can create a separate front end that contains the macro.
Just set the macro to run on the form load event and have that form be the one that the front end loads up on startup.
After the macro runs, just add another line to quit the application.