Yes, you can. Keep an eye on the bread as you do so as grilling rather than baking means that the edges of the bread are more prone to catching and burning before the cheese melts.