Yes!
It is narrated from Sayyiduna Abu Masud (may Allah be pleased with him) that the Prophet ﷺ said:
«ما منكم من أحد إلا وقد وكل به قرينه من الجن، وقرينه من الملائكة قالوا: وإياك يا رسول الله؟ قال: وإياي لكن الله عزوجل أعانني عليه فلا يأمرني إلا بحق وفي رواية: فلا يأمرني إلا بخير»
“Every one of you has been assigned a companion from the jinn and a companion from the angels.” They said: “And you as well, O Messenger of Allah?” He ﷺ said: “And me as well, but Allah, the Mighty and Majestic, has helped me against him, so he does not command me except with what is right.” And in one narration: “He commands me only with good.”