Yes, and clearly that would have been the correct course of action.
No, it wouldn't have. The correct course of action would have been to get rid of the Taliban, as wars generally have a mission to be accomplished.
Like you I did advocate for permanent bases, but I don't think it would work in Afghanistan like it has in other places, I don't think there would have been a long term appetite from afghanistanis for that.