Place the sliced apples in a large bowl. Melt the coconut oil or ghee in a saucepan over medium-low heat. Whisk in the tapioca flour to form a paste and then whisk in the coconut sugar, maple syrup, cinnamon, ginger, nutmeg, allspice, vanilla extract, and lemon juice. Bring to a boil and let simmer for 3 minutes before removing from heat and pouring the caramel sauce over the sliced apples. Toss to coat all of the apples, and pour into the prepared crust.
2 pounds apples, ¼ cup coconut oil or ghee, 2 tablespoons Bob's Red Mill tapioca flour, ½ cup coconut sugar, 2 tablespoons maple syrup, 2 teaspoons cinnamon, ¼ teaspoon grated nutmeg, ¼ teaspoon allspice, ¼ teaspoon ground ginger, 1 tablespoon vanilla extract, 2 tablespoons lemon juice