I don't think that Empires can be destroyed in Afghanistan. World Wars destroyed the British Empire and democratic reforms split USSR.
However, Russia might be looking for allies in Afghanistan. In this manner, Russia can have a say in the affairs of Afghanistan and counter-check the designs of other powers if they are deemed as a threat. Drugs, ISIS, CPEC, CASA, TAPI and natural resources - all are valid concerns and draw attention.
IMO, a democratic Afghanistan is best for all in the long-term. Groups like Taliban are beyond salvation. I just wish that it doesn't becomes another Syria. Pakistan can no longer afford to be a Turkey for it.