01 - Preheat oven to 400°F (200°C). Arrange eggplant slices on a baking sheet and sprinkle both sides with salt. Leave for 30 minutes to draw out excess moisture, then pat slices thoroughly dry using paper towels.
02 - Coat eggplant slices individually in flour, dip in beaten eggs, then evenly cover with breadcrumbs.
03 - Place breaded eggplant slices on a parchment-lined baking sheet. Drizzle lightly with olive oil, then bake for 20 minutes, turning slices halfway through, until they achieve a crisp and tender texture.
04 - Heat 2 tablespoons olive oil in a saucepan over medium heat. Sauté onion until translucent, approximately 5 minutes. Add garlic and cook for 1 minute more. Stir in marinara sauce, oregano, basil, salt, and pepper. Simmer gently for 10 minutes to develop flavors.
05 - In a mixing bowl, combine ricotta cheese with half the Parmesan and all of the Pecorino Romano, if using. Season with salt and pepper as desired.
06 - Lower oven temperature to 375°F (190°C) for baking.
07 - In a 9x13-inch baking dish, spread a thin layer of marinara sauce on the bottom. Arrange 3 lasagna noodles atop the sauce. Distribute half the baked eggplant slices evenly over the noodles. Spoon half the ricotta mixture over the eggplant, and sprinkle with one-third of the mozzarella. Add another layer of sauce. Repeat layering with remaining noodles, eggplant, ricotta mixture, and mozzarella. Top with final noodles, remaining sauce, the rest of the mozzarella, and all remaining Parmesan.
08 - Cover dish tightly with foil and bake for 30 minutes. Remove foil and continue baking uncovered for 15 minutes more, until the cheese is bubbling and the top is deeply golden.
09 - Let lasagna cool and set for 10 to 15 minutes before slicing. Garnish portions with chopped fresh basil and serve.