Converting a short cage rear derailleur to a long cage derailleur
Yes, if the derailleurs are the same model, and you can get all the parts, (which isn't usually a straightforward process) youcan convert from short cage to long cage.