Yes, you can use it for sure. Although, decorating cupcakes using it would be a better idea. Use butter or cooking oil to bake cupcakes.