no. Afghanistan could have been won with 1970s technology if the US hadn't given up and left.

The bigger issue is A) Winning would take 30 years of low level troop deployment and technical/air support for the Afghan Army (there were only a few thousand US troops in Afghanistan in 2022)
B) The US government never actually cared about the NATO mission aside form finding Osama (who was in fucking Pakistan) its just no one wanted to be the one to have egg on their face until the senility took hold in the presidency.
C No one ever fucking learns in the Pentagon, they recreated their own failures in South Vietnam 1 to 1 again despite having allegedly learned from Vietnam.