Bring a large pot of salted water to a boil over high. Add spaghetti and cook according to package directions for al dente, about 12 minutes.
Meanwhile, cook pancetta in a small skillet over medium until browned and crisp, 8 to 10 minutes. Transfer pancetta using a slotted spoon to a paper towel-lined plate, reserving drippings for another use.
Using a fork or large spoon, mash avocado, Parmigiano-Reggiano, egg yolks, pepper, and salt in a large bowl until well combined.
Stir in ½ cup of the hot pasta cooking water.
Using tongs, transfer spaghetti from pot to avocado mixture, and toss until evenly coated, adding more pasta cooking water 2 tablespoons at a time to reach desired consistency.
Divide evenly among 4 bowls. Garnish with Parmigiano-Reggiano, oil, and reserved cooked pancetta. Serve immediately.
