Statistically if you had enough hashing power to more or less assure yourself a solved block before difficulty change then you could potentially come out even or ahead. Otherwise in an accelerating difficulty frame solo mining will fall behind pooled mining for most people. Luck is, of course, luck.