Heat oven to 375ºF.
In a medium bowl, combine the flour, baking powder, salt, cinnamon, and allspice.
In the bowl of a stand mixer fitted with the whisk attachment, cream together the sugar and butter on medium speed. Add the egg and mix until just incorporated. Add the vanilla and lentil puree and mix until combined. Add the flour mixture and blend on low speed until just combined. Remove the bowl from the mixer and stir in the oats, dried fruit, and coconut.
Form the dough into balls about 2 teaspoons in size, and place on a parchment paper-lined half-sheet pan, leaving about 1 inch between. Bake until an internal temperature of 195ºF is reached on an instant-read thermometer, 15 to 17 minutes.