Preheat your oven to 375°F (190°C).
Slice the eggplants into ½ inch thick rounds. Sprinkle with salt and let them sit for 10-15 minutes to draw out moisture.
Rinse the eggplant slices under cold water and pat them dry with paper towels.
Set up a breading station: Place the flour in one bowl, whisk the eggs in a second bowl, and put the breadcrumbs in a third bowl.
Dredge each eggplant slice in flour, then dip into the beaten eggs, and finally coat with breadcrumbs.
Arrange the breaded eggplant slices on a baking sheet, lightly spray with cooking spray, and bake in the preheated oven for 25-30 minutes, turning halfway until golden brown.
In a large skillet, heat olive oil over medium heat. Pour in the marinara sauce and heat until warm. Add dried oregano and basil, and season with salt and pepper.
In a baking dish, spread a layer of marinara sauce on the bottom. Layer half of the baked eggplant slices, followed by half of the mozzarella cheese, and a sprinkle of Parmesan cheese. Repeat the layering with the remaining eggplant, marinara sauce, mozzarella, and Parmesan.
Bake in the oven for an additional 15-20 minutes until the cheese is bubbly and golden.
Remove from the oven and let it cool for a few minutes. Garnish with fresh basil leaves if desired before serving.