There is a “Prayer for Relief” in every complaint filed in every court in the country. Pretty sure they aren’t “worshipping” the judges.
Likely not, but they are appealing to the one who makes judgment...It's not God's fault that they stretch the meaning of prayer...