Preheat the oven to 350 degrees F and place a rack in the center of the oven. Grease an 8 or 9-inch cake pan with 1 teaspoon coconut oil and line the bottom with parchment paperIn a large bowl, whisk together the almond flour, ground flaxseed, baking powder, baking soda, salt, cinnamon, ginger and cardamom.
In a medium bowl, whisk the eggs, remaining coconut oil, coconut sugar, orange juice and vanilla until well combined, silky smooth and emulsified.Add the wet ingredients to the dry ingredients and mix until just combined. Fold in the walnuts, golden raisins and coconut (if using).Fold in the carrots, pineapple (if using), and walnuts.
Transfer the batter to the prepared pan and smooth the top. Bake for 1 hour (8-inch) or 50-55 minutes (9-inch), or until lightly brown, a toothpick inserted in the center comes out clean and the center springs back to the touch.
Let cool in the pan for 10 minutes, then gently remove from the pan, discard the parchment paper and transfer to a cooling rack to cool completely. Top with the frosting.