Those who believed God knew for Centuries before Mary was born that Mary was going to agree, say yes...There is no way she could have said no since that would have made God a liar...
God is not some magnified creature than anyone is going to surprise with an answer, God IS. Even though we have freewill, an omniscient God knows before the beginning of time what we will do.
Peace be with you.
However God's knowing, and God's making to happen, are two different things. God willed free will, it exists in every human, it is real, it involves our choice, in fact "choice" is commanded by God ("Choose ye!"), the choice is ours, and God's will is done by it. If we didn't have a choice, then all God said about "choose ye" is a lie.