We cannot confirm that an Imam has recited this supplication. Yes, it has been reported in some books that the said supplication is narrated from one of the Imams (peace be upon them). Supplicating to Almighty Allah through the Prophet or the Imams (peace be upon them) is amongst the recommended deeds, whether we use this particular supplication or another Dua.