Absolutely. Follow the directions the same as you would if you were making the cake - but bake in a cupcake tin instead. You can still poke holes into the cupcakes and add the pineapple mixture over the top. Pipe with cream cheese frosting or lather it on with an icing spatula.