In an isolated circumstance, sure. Long term, I don’t think so. I know I can’t. But I don’t feel bad because the apostle Paul, whom Jesus appeared to and who was caught up into heaven, couldn’t be good either (Rom 7:19).
The question is how good do you have to be to be good? Who gets to define “good” in the absence of God?
Does the definition change with time, culture or circumstances? Is there one definition, or do we each get our own? At some point, does the discussion become meaningless in the absence of absolute standards?
So where would we find absolute standards to measure good? Jesus said, “Why do you call Me good? No one is good but One, that is, God.” (Mk 10:18)
It’s self-evident. You can’t be good unless you know what good is, and only someone who is good can tell you.
By the way, why even bother to be good if being bad is more fun...unless of course we’ll be responsible at some point to someone who is good. Something to think about.
Bottom line; not only do I need God to be good, I need God to even want to be good.
P.S. This has nothing to do with getting to heaven. For that you have to be perfect.