Preheat oven to 350°F Heat olive oil in a large skillet until shimmering. Add onion and saute until soft and translucent, about 5 minutes. Add garlic and saute until fragrant, about 1 minute. Add beef and saute until pinkness is gone. Drain and discard excess fat. Make a space in the center of the pan and add tomato paste; stir the paste around the open space until it begins to brown, then stir in meat and onions.
Drain tomatoes; pour the juice into a small saucepan over medium-high heat. Boil the juice until syrupy. Process the tomatoes in a blender or with a stick blender until fairly smooth. Add tomatoes and boiled juice to drained beef and onion, along with wine, anchovy paste, basil, oregano, thyme, bay leaves, salt and pepper. Simmer gently, uncovered, 30 minutes, stirring occasionally, until flavors blend. Remove and discard bay leaves, and set sauce aside.
Beat egg lightly. Add ricotta, basil and parmesan cheese and stir well to combine.
Spray a 13x9x3 pan with non-stick cooking spray (13x9x2 will probably boil over!). Spread 1/3 cup of sauce across bottom of pan and top with 3 lasagna noodles. Spread 1/2-3/4 c sauce, 3/4 c ricotta, 1 c mozzarella and 1/4 c parmesan (in that order) across noodles. Repeat this a total of 3 times, using 9 noodles. Place the last 3 noodles on top. Top with remaining sauce, remaining mozzarella and remaining parmesan. Tent loosely with foil and bake in preheated oven 30 minutes. Remove foil and bake another 20-30 minutes, until bubbly and cheese is beginning to brown. Let rest at room temperature at least 15 minutes before cutting and serving.