Heat the oven to 500°F, line a large rimmed baking sheet with high-heat-resistant parchment paper or nonstick foil, and coat it with avocado oil spray. The lined pan prevents sticking and gives the eggplant a clean surface for fast roasting.
Cut the eggplant into 1/4-inch slices, arrange them in a single layer on the baking sheet, spray with oil, and season with kosher salt, black pepper, and garlic powder. Keeping the slices even helps them roast at the same rate instead of leaving you with a mix of mushy and underdone pieces.
Roast the slices for 15 minutes. At this stage the eggplant should start looking softer and slightly golden around the edges.
Turn each slice, spray the second side with oil, and roast for about 10 minutes more. They are ready when the surfaces are browned and the centers feel fully tender when pierced with a fork.
Take the baking sheet out and lower the oven temperature to 425°F. This brings the oven down to a better temperature for melting the cheese and bubbling the sauce without scorching the top.
Grease a 1-quart casserole dish, then layer in half of the roasted eggplant, half of the marinara sauce, and half of the mozzarella. Building the casserole in layers gives you balanced bites instead of all the sauce or cheese sitting in one spot.
Finish with the remaining eggplant, the rest of the marinara sauce, the remaining mozzarella, and the Parmesan. The top should look evenly covered so it bakes into a golden, cheesy lid.
Bake for about 15 minutes, then let the casserole rest for 10 minutes before serving. It is ready when the edges are bubbling energetically and the cheese is melted and lightly golden.