"Pray" is one of those English words that has a lot of different meanings, connotations and subtleties. It can mean to worship, adoration, veneration, to hope, and to beseech in the context of religion. Are you saying that there is a scriptural prohibition in all of the meanings of the word?
If it’s not God, yeah.
Where did Jesus teach us to pray to anyone but God?