You can place the feta on foil to grill it, yes, then transfer the foil to a serving dish. I wouldn't enclose the feta in the foil. It won't take on the smoky grill flavor that way, and it could be a gooey mess when you open it up.