Preheat oven to 350 degrees. Line a baking sheet with parchment. In a large bowl, beat together butter and sugar until light and fluffy.
Mix in egg and vanilla until incorporated. In a separate bowl, mix together flour, oats, spices, baking soda, and baking powder. Add the flour mixture and apple to the bowl with the butter. Mix until all ingredients are just barely combined.
Fold in pecans (and caramel chips, if using). Use a cookie scoop to scoop out 1 tbsp of dough. Stick an unwrapped caramel square in the center.
Cover with 1/2 tbsp of dough. Form the dough into a ball and make sure the caramel is completely covered. Place dough balls on a baking sheet 2 inches apart.
Bake for 15 to 18 minutes, or until golden brown. Let cool for 2-3 minutes, and serve while warm.