I think that this is a silly question, in all honesty.
Is it possible for a man to live a good life? By who's prospective?
I try to live a good life, but fall short every day in some way or another.
And if so go to Heaven?
What, get to Heaven by living a good life?
Ephesians 2:8
For it is by grace you have been saved, through faith—and this is not from yourselves, it is the gift of God— 9 not by works, so that no one can boast.
No, you can live a good life and still not go to Heaven
Mark 10:19
You know the commandments: ‘You shall not murder, you shall not commit adultery, you shall not steal, you shall not give false testimony, you shall not defraud, honor your father and mother.’[d]” 20 “Teacher,” he declared, “all these I have kept since I was a boy.”
21 Jesus looked at him and loved him. “One thing you lack,” he said. “Go, sell everything you have and give to the poor, and you will have treasure in heaven. Then come, follow me.” 22 At this the man’s face fell. He went away sad.....
Or be a criminal and still go to Heaven:
Luke 23:40
But the other criminal rebuked him. “Don’t you fear God,” he said, “since you are under the same sentence? 41 We are punished justly, for we are getting what our deeds deserve. But this man has done nothing wrong.”
42 Then he said, “Jesus, remember me when you come into your kingdom.[d]”
43 Jesus answered him, “Truly I tell you, today you will be with me in paradise.”