No, you can't be in a habit. (Unless you're a nun, but that's a different kind of habit :-).
You can have a bad habit.
"Some timesSometimes(one word) you don't realize that you are inhave such bad habits unless you havecan see other people where you can seewith good habit