Hi @jamalm and welcome to Pyblish!
Yes, that should be trivial. Simply make a Python script and call it from
from maya import standalone
Then from Maya, you can call it as such.
This should open a new console window, where Pyblish (mayapy) will start outputting messages, like you would normally see in Maya Script Editor when running from the same process.
Once you’ve got that running, you might want to pass the current scene file to it.
parser = argparse.ArgumentParser()
args = parser.parse_args()
from maya import standalone, cmds
cmds.file(args.scenefile, open=True, force=True)
To call this, you’d probably save your scene, and pass the path to it as an argument.
from maya import cmds
scenefile = cmds.file(sceneName=True, query=True)
I just typed this up as I went and haven’t actually run it (so beware), but also let me know if something doesn’t work as I’d described, and we’ll get to the bottom of it. Short answer at least is that yes, it’s possible!