So in heaven, I will be able to do anything, except sin. So, it's apparently possible to have completely free will while at the same time being unable to do anything wrong.
So why wouldn't God do it like that right away? That would ensure nobody ever did anything wrong, and all would go to heaven. He wouldn't have had to sacrifice his son either, because we'd all be sinless anyway.
***
Heaven & living on the new earth (to come) are for people who recognize Gods laws and loving nature are good and perfect.
When we choose to live contrary to the perfect morality of God then it produces destruction, pain and/or sorrow of some kind .... that's what we see and experience in our world now ... if people are ok with the way the world is now ... then life with God (now or in eternity) is not for them.
So why wouldn't God do it like that right away?
Free will
God doesn't make choices for anyone ... however He knows who do now and in the future will choose life with Him and who will not.
God doesn't force anyone to choose life with Him. All have that choice now .
God knows the future
God knows the future and He knows there are yet people in the future who will choose to believe in Him (Jesus). There will come a time (that only God knows) when He sees/knows the future choices to come do not include any believing in Him and He will return.
Does one want to live in heaven and the new world to come where only good exists? ... or does one not want that.
Sin will be non-existent in heaven and on the new earth He will create ... if it were not so .... then heaven/eternal life would not be anything different than what we have now.
The Bible’s teaching on good versus evil (continuously sinning) leads to a challenging conclusion: that every person is obligated to make a fundamental choice between the two. That choice is entirely determined by our response to God (he invites all) - each choose to accept the invitation or not). Gpd who is both our Creator and He is the very
definition of good. We strive/choose to either accept Jesus through whom we receive eternal life and ask Him to help change us and to help us follow His teachings or we rebel and choose to sin
1 Corinthians 10:13 .
For now, those who choose Him will mess up here and there ... but He helps us to overcome sin, over the course of our lifetime here on earth and He will bring us to completion when He returns.
Philippians 1:6
New Living Translation
And I am certain that God, who began the good work within you, will continue his work until it is finally finished on the day when Christ Jesus returns.
Eternally, this means we either choose to accept Him and His salvation
John 3:16;
14:6 or align ourselves against Him
John 3:36 . While we may be imperfect and fallible, we cannot be neutral in our approach to good versus evil. Our hearts are either seeking the goodness of God
Matthew 7:7–8 Romans 2:4 or the selfishness of evil
1 Peter 3:10–12
Discerning between good and evil is possible only in reference to a single,
unchanging standard: and that standard is the perfect nature of God. God is not subject to morality ...
He is the source and benchmark for it. Nor is morality subject to change, since God’s perfect nature is eternal and unchanging.
Here is a resource you might be interested in where you can "ask questions" ... like what does the bible say about faith ... what does the bible say about new earth etc. The search criteria might bring up a few verses that do not directly apply but a lot of them will ... it is a "topical search" tool that encompasses the entire bible and provides a broad overview.
Topical Bible - Bible Verses by Topic