Wrapping in aluminun foil and place it in a skillet pan
Yes, it can ruin the pan. Non-stick pans are very sensitive to overheating. When their bottom is well covered with fat or fluid and pieces of food, the heat coming from the stove gets conducted from the pan to the food, and it usually doesn't overheat. But if you place a bundle on the pan, there will be large spots not in direct contact with cooling fluid (food) and so the teflon will get destroyed by the heat. 

Wrapped cooking techniques are not usually meant for pans. They are much more typical in ovens (or in fire/embers, in more traditional settings). Sometimes wrapping is also done in steaming. But doing it in a pan is highly unusual. So consider looking up typical recipes and following them. 

If you really need to do wrapping on a stovetop, use a pan material which can take the extreme heat, this would be cast iron (seasoned, not enameled) or uncoated stainless steel.