Yes, you can but there are some extra steps I recommend taking if using canned sweet potato. Canned sweet potato contains much more liquid than a fresh roasted sweet potato so you will need to strain it through a fine mesh sieve or cheesecloth before adding it to your dough.