Yes! It is easiest to cook a fried egg on a grill with a cast iron skillet but you can also do it with foil. Simply place a piece of aluminum foil on the grill with the edges folded up. Spray it with non-stick spray and crack the egg in it. Close the lid and let it cook until the yolks are done.