If your dog is food motivated, then yes. When teaching new behaviours, I do use treats.  Once the behaviour can be preformed at a rate of success of 100% with treats, the treats will be quickly phased out in exchange for your affection. Treats are not the be all end all of rewards. If your dog is not food motivated, there are other things we can find that might motivate your dog more, like a certain toy for example.