If he confessed and forsook his sin, then yes.
Only if he confesses and forsakes his sin
God has provided the answer in His Word.
Proverbs 28:13
He that covereth his sins shall not prosper: but whoso confesseth and forsaketh them shall have mercy.
1 John 1:9
If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
They are listening to the lies of the devil who keep telling them in the first person "I can't quit"
If they would Walk in the Spirit, and ye shall not fulfil the lust of the flesh
Galatians 5:16-25
This I say then, Walk in the Spirit, and ye shall not fulfil the lust of the flesh.
For the flesh lusteth against the Spirit, and the Spirit against the flesh: and these are contrary the one to the other: so that ye cannot do the things that ye would.
But if ye be led of the Spirit, ye are not under the law.
Now the works of the flesh are manifest, which are these; Adultery, fornication, uncleanness, lasciviousness,
Idolatry, witchcraft, hatred, variance, emulations, wrath, strife, seditions, heresies,
Envyings, murders, drunkenness, revellings, and such like: of the which I tell you before, as I have also told you in time past, that they which do such things shall not inherit the kingdom of God.
But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith,
Meekness, temperance: against such there is no law.
And they that are Christ's have crucified the flesh with the affections and lusts.
If we live in the Spirit, let us also walk in the Spirit.
Clearly, those that continue in their sin will not go to Heaven.
They keep doing sin because they like to sin and they enjoy it and so the Lord turns them over to a reprobate mind because they love their sin more than they love the Lord which is evident because sin is first place in their life.
So every sin you commit is accidental, or something you're unaware of?