Doesn't seem feasible in Godot. Like there are ways to do it but the player also needs to download another tools. So, it is not very convenient.
I haven't tried it, I read that you need tools on the Q&A of godot's site but maybe that info was outdated. I checked the docs and you are correct, the user doesn't need extra tools. They just need to disable the gatekeeper? (I suppose this is like windows security). However, I will look up how to export to mac in detail for my next projects. Not thinking about returning back to it at the moment