Add custom template flag value for --hostame argument of docker service create

Is it possible to add custom template flag value for --hostame argument of docker service create command?

List of available flag values is here:

I would like to add .HOSTNAME flag from the output of docker node ls output.
Regards.