So; who gets to define what a HABIT is?
Can I sin once a year and get away with it?
How about once a month? Once a week?
Only every other day?
Matthew 18:21-22 (KJV)
21 Then came Peter to him, and said, Lord, how oft shall my brother sin against me, and I forgive him? till seven times?
22 Jesus saith unto him, I say not unto thee, Until seven times: but, Until seventy times seven.
If you know from Scripture or from the heart the sin that you sinned, no. The indwelling Holy Spirit will alert you and give you the opportunity to admit it, abandon it, and be throughly cleansed from it by the Blood of Christ, and to be restored to perfect fellowship with The Father (1 Jn. 1:9). How about once a month? Once a week?
Same again, only now the Spirit's warning may start to get louder and more insistent regarding the earthly consequences of ignoring the commandments that Jesus gave to be taught.
The Father may step in, or He may defer the handling of discipline to the purview of the local church. You sin affects not just you. I affects every member of the assembly when your functional role in it is degraded.
Only every other day?
If your practice is becoming habitual, here is where the sirens and klaxons ought to be going off. It may even be that, if you cannot choose to control it, you may have to face the question as whether or not you are even saved, only a professor and not a possessor, a la Charles Templeton. Or even a Judas. Eh?
God, Jesus, and the Holy Spirit are very patient regarding your progress in sanctification. Howvwer, there is a limit, and God may blow the whistle and say, "OK, son -- out of the pool. You need to come up with me for close, more personal attention away from the distractions of earthly life. Otherwise you are going to hurt somebody that I also have equal interest in, and that can no longer be permitted. I can see that you are not ging yo be helping there for Me, so just come up and sit on the bench for a while."
That happens. Ananias and Sapphira are already there, so you'll have company.