Yes, you can. See how to roast eggplant in the oven in the section above.