If you're working on your own game, something where you share in the profits, that's certainly a different scenario.
But even then you still shouldn't go crazy with overtime, you'll still end up with diminishing returns, burnout, and eventually poor quality work. It's just a bad idea outside of emergency scenarios (eg, a serious crash bug in production that you can't just revert).