Yes, you can wrap the corn on the cob in foil. This will make tender, juicy corn, like steaming in a pressure cooker or boiling in water. Be careful when you open the foil, as the corn can be hot and will release steam.