absolutely you can use melted butter as a substitution for the oil that is called for in a boxed cake mix. it will change the cake, however. you'll get a firmer cake than you would with oil. the cake will also have a more buttery taste to it than it may with oil.