Yes, melted butter can be used instead of oil. It is a great substitute for oil because it adds moisture and flavor to the cake. When using butter, you should use slightly less than what the recipe calls for with oil.