Yes, you can. Preheat the oven to 400ºF/200ºC. Then roast the ingredients (lightly oiled) for between 15- 20 minutes, until softened and slightly browned. For more charred flavor, you can broil them at the end.