Yes, you can easily swap out the oil for butter. However, this change will produce a slightly different result in terms of taste and texture. Your muffins will come out less moist and delicate - they will be "denser" and rather heavier in taste.