Yes, Anne Fairfax Lee was an ancestor of Robert E. Lee. She was the mother of George Lee, who was the father of Robert E. Lee's maternal grandmother, Anne Hill Carter Lee. Anne Fairfax Lee married Lawrence Washington, the half-brother of George Washington, and later married Colonel George Lee of Mount Pleasant in Westmoreland County, Virginia. Through her son George Lee, she is connected to the Lee family lineage that eventually led to Robert E. Lee.
The city of Alexandria, VA (1749) was founded by Lawrence Washington, her husband and George's older half-brother. https://en.wikipedia.org/wiki/Lawrence_Washington_(1718%E2%80%931752)
Anne Lee (Fairfax) (1728 - 1761): https://www.geni.com/people/Anne-Lee/6000000003914650750
https://search.brave.com/ask?q=was+Anne+Fairfax+an+ancestor+of+Robert+E.+Lee%3F&quickAnswerKey=91ec0ba5f991ece71fbd26&quickAnswerQuery=was+Anne+Fairfax+an+ancestor+of+Robert+E.+Lee%3F&conversation=087f6df163a44ea7abf51b91e1e19994d5da