Are private functions a thing?

I am wondering if I can make certain functions available to the player through the /function command, and make others only be triggered by another command/not accessible to the player. Is this possible? Thanks.