I think it's possible, but the point is to win the hearts of the Afghan population rather than eliminate the Taliban, which is impossible, all the more so because they are motivated by hate.
If the local population rejects the actions of the Taliban, and if the Taliban, generally speaking, do not receive the support of the people, therefore local insurgents cannot hide amongst the people, and any actions carried out by the Taliban would be characterized as isolated events. Once that is the case, the Afghan army and police force will be able to take over that aspect of the work.