Being passionate and dare I say obsessive about you work is good. I fact, it's the only way to achieve good results. That's what separates hackers from people that just go to work.
There should be some balance.
I do similar shit and i stay up till I absolutely have to go to bed, then I can't sleep for 2 hours, despite quite strong sleeping/calming drugs, because I'm coding/doing PCB layout/whatever in my brain still