Yes, cook frozen corn on the cob in the same way, wrapped in foil. \
o need to add water to the foil packet. Cooking time may differ when cooking from frozen.