Our babies, sigh. But yes you can stop the behaviour. Next time he does that, just give a stern no and snatch the treat away. If he continues, give a stern no and a tap on his nose with your finger. This works with snaping and nipping and it is what their mother's do when they do it to her (well maybe not the tap, but they do nip at them)