Yes, you can use a skillet or pan to toast a sandwich. Place the sandwich on a skillet after lightly spreading butter or brushing both of the bread's outer sides with olive oil. Toast the sandwich at medium heat.  Cover it with a lid while cooking to trap heat and help melt the cheese faster.