Yes, you can. Pierce the eggplants all over, then place them in the oven at 200C/390F for about 50 minutes, turning them halfway through.