Yes, you can bake a cake in a portable oven such as a convection toaster oven. Most toaster ovens can fit 9-inch round cake pans, with some able to hold 13 x 9-inch cake pans.