In a large pot of boiling salted water, cook pasta until al dente according to package directions. Reserve 1 cup pasta water before draining. Return to pot.
In a medium bowl, stir together ricotta, Pecorino, oil, and lemon zest and juice. Season with salt, pepper, and red pepper flakes. Add mixture to pasta along with ¼ cup reserved pasta water and toss, adding more pasta water as needed to coat the noodles.
Top with basil (if using), Pecorino, and a drizzle of oil.
