Absolutely! You can cook these BBQ pineapple chicken foil packets in the oven. Just preheat your oven to 400 degrees Fahrenheit and place the foil packets on a rimmed baking sheet. Cook for about 20 minutes, or until the chicken is cooked through.