Yes, you can definitely bake a cake in a smoker. In my recipe, I baked a cinnamon cake with freshly diced pineapple. (smoked pineapple is the best!) Baking a cake in a smoker like this was super simple and turned out delicious.