Yes and No
No-The prophet by the Spirit saw ahead to Jesus's day. Those words were stated as Jesus felt. That is not the same as Jesus stating the words to fulfill Psalm 22
Yes -Those words were fulfilled in Jesus
Psalm 22
They divide my clothes among them and cast lots for my garment.
Isaiah 53
Isaiah saw ahead to Jesus's day.
Who has believed our message?
Related
John 12:41
Isaiah said this because he saw Jesus’ glory and spoke about him.
John 8:56
Your father Abraham rejoiced at the thought of seeing my day; he saw it and was glad."