Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a large mixing bowl, combine the mashed sweet potato, almond butter, honey (or maple syrup), and vanilla extract. Mix until smooth and well combined.
Add the ground cinnamon, baking powder, and salt to the mixture. Stir until incorporated.
Gradually fold in the rolled oats, and if using, add the chopped nuts and raisins (or chocolate chips). Mix until everything is evenly distributed.
Using a tablespoon, scoop out the dough and place it on the prepared baking sheet, spacing them about 2 inches apart. Flatten each cookie slightly with the back of the spoon.
Bake in the preheated oven for 15-20 minutes, or until the edges are golden brown. Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.