Lining a frying pan with aluminum foil to reduce post-cooking cleanup?
Lining with foil works well with cooking methods like baking or broiling, where the food is not stirred or manipulated much, and so the foil can sit undisturbed.

With stir frying, you are quite likely to break through the foil while doing the stirring, and have to clean up fully in any case.   Also, you probably would not get as good a stir fry due the thin layer of insulating air between the pan surface and the food.

This is not something I would try.