Yes, but it might affect the flavor. Use 3/4 cup of oil for every 1 cup of butter called for in the recipe.