Treats for Tantrums?

Playing

The terrible 2s can be terribly frustrating, but is it ever OK to silence tantrums with treats?