Yes, to do that, melt butter in medium heat, followed by preheating your skillet. Add the slices of onions for the cooking with sufficient stirring till golden spots appear.