When I was in college I would come home from a night out and workout. I lost a lot of weight that way. I'm way too much of a morning person now to consider anything like that, but it worked at the time.
I think whether or not it's okay depends on YOU. Do you sleep well at night? Do you come home from work, workout, then putz around the house for an hour or two before bed because you work so late? If that's the case, the whole argument about working out before bed is null and void. I don't think 10 or 11PM is a bad thing if you go to bed at 2 or 3 - many people workout in the evenings - which would be the same thing. If you do go to bed straight off, maybe a workout before work would be better for you.