Preheat the oven to 350 degrees F (175 degrees C). Line cookie sheets with parchment paper. Spread pecans and coconut onto a baking sheet.
Toast in the preheated oven until coconut is very light golden brown and pecans become fragrant, 5 to 7 minutes. Remove from the oven and let cool, about 10 minutes. Leave the oven on.
Pulse oats in a blender or food processor until slightly ground.
Mix brown sugar, white sugar, and butter together in a bowl. Add pineapple, egg, vanilla extract, and almond extract.
Mix oats, flour, baking powder, and salt together in a small bowl; mix into the wet ingredients. Stir in toasted coconut and pecans. Drop by spoonfuls onto the prepared cookie sheets.
Bake in the preheated oven until edges are golden, 12 to 15 minutes. Cool on the cookie sheets for 1 minute before removing to a wire rack to cool completely.