Oh...why not.
I'm going to assume his habit isn't his headdress and gear and he's really a nun. In which case, no, you cannot keep a relationship when you're giving up all of your money to support a habit. I don't care what the habit it since its sounding like a less than positive one like: takes the trash out all the time.
Or his habit is kissing me good night and telling me I'm a beautiful woman three times a day.
I can't imagine you'd complain about those.
So I'm guessing we're talking about drugs, alochol, or maybe something more benign but no less problematic like pr0n or something. Here's the thing, as an enabler - that's what you are - you are placing the wedge between you and him in the first place. How can he love you when you're making it possible for him to get his love in other places. Until he gets over his particular habit, he probably won't be able to love you the way you need to for the relationship to last in a positive state. Sure you can stay around as long as you want, but you don't want to regret the years you lost.
So the short answer is no. There is a littany of movies, books, and really bad poems about this very subject of women hoping to keep their man by helping to make him happy in his vices and habits. It doesn't work. Ask Oprah.
It was written.
no