Answer
I say, and with God's success: The sale of a debt is permissible according to the fatwa of the Hanafi school, based on the comprehensive statement mentioned in the Journal of Judicial Rules that it is valid from one perspective, invalid from another perspective, and considered a pledge from yet another perspective. And God knows best.