No, putting foil in a toaster oven is not a good idea. The temperature increases fast in toaster ovens because of the simplicity of their construction. This will lead to two significant issues for you. 1. Heat issue 2. Spark's issue Some oven manufacturers explicitly forbid foil in the toaster oven, while others fryer oven air still use it under certain circumstances.