There have been instances, with prayers powerful and righteous enough, and totally comitted from the heart enough, that God has taken the will and the liberty and the thoughts of someone.
What this does, is it forces them to be perfect, to come to a saintly perfection of the spirit in union with the Will of God. Because literally, you can give up your will to the Lord Almighty. It is quite possible with an intent strong enough. He will take it and bring you to perfection.
Many of the saints did this, they offered themselves and God took them and made them into saints. It is a well known phenomenon, of giving yourself totally to God and His divine Will of utmost good and perfection. It is quite difficult.