While it is technically possible to use aluminum foil to wrap and store leftovers, it is not recommended as a substitute for a sandwich bag. Aluminum foil does not provide the same level of airtight sealing and may not be as effective in preventing the growth of bacteria. It also lacks the convenience of a resealable bag and can be difficult to handle, especially with moist or sticky foods. For food safety and convenience, it's better to use proper food storage containers or resealable plastic bags designed for food storage.