Taliban are the enemies of Islam, just like khawarij. You made the comparison yourself. On one hand you pretend to support Imam Ali against Muawiya, and on the other hand you support people who killed Imam Ali.
no body supported hazrat ali nor hazrat amir muavia. as it was a political conflict rather than relegious. both have their own opinion and acted according to their judgement.
may allah rest their souls in peace