I don’t know of a way to do it. I don’t think there’s a way to do it. I would be surprised if there was a way.
No, to publish you always have to export the module first and upload that file. Or when using Github point to the release with the correct module package.
Regards,
Ronald