In a large bowl using an electric hand mixer (or a stand mixer), beat the brown sugar, oil, eggs, salt, cinnamon, and nutmeg together for a couple minutes until fluffy. Add the vanilla, baking soda, and oat flour and mix until combined. Scrape the sides and bottom of the bowl with a spatula. Cut the apple into large slices just so you can discard the center core part. Grate all of the apple slices into the batter then give the batter one last good mix. Fill each cupcake liner about ⅔ full and bake for about 15 minutes or until a toothpick comes out clean. Remove from the oven and let cool completely at room temperature.