Since God is totally absolutely sovereign, the answer is yes.
Genesis 3:22 And the LORD God said, Behold, the man is become as one of us, to know good and evil.
"They are seriously spoken, since this was after man was brought to a sense of the evil he committed, and to repentance for it, and had had the promised seed revealed to him as a Saviour, and, as an emblem of justification and salvation by him, was clothed with garments provided by God himself: wherefore the words are to be considered either as a declaration of his present state and condition, in and by Christ, by whose righteousness he was made righteous, even as he is righteous, though he had lost his own; to whose image he was conformed, now bearing the image of the heavenly One, though he was deprived of that in which he was created, having sinned, and come short of the glory of God; and was now restored to friendship and amity with God, favoured with his gracious presence, and having faith and hope of being with him for evermore; the eyes of his understanding were enlightened by the Spirit and grace of God, to know the good things which God had provided for him in Christ, and in the covenant of grace, a better covenant than that under which he was made, and which he had broke; and to know the evil nature of sin, its just demerit, and the atonement of it, by the death and sacrifice of the promised seed."
- excerpt from John Gill's Bible commentary on Genesis 3:22