Yes, you can use cupcake liners in a muffin pan. In fact, many people prefer to use cupcake liners when baking muffins, as they help to prevent the muffins from sticking to the pan and make them easier to remove.