You can, but just keep in mind that mashed potatoes have more liquid than the flakes so you will want to accommodate for that in other ways. One way is to cook the mashed potatoes, stirring constantly, to remove any extra moisture. I would use 1 cup mashed potatoes in place of the 2/3 potato flakes.