I don't remember if I have or not. The code itself would not be coherrent if you dreamt it. The idea might be, but the code would not.
Next time you manage to think of it in a dream, write down two three-or-more-digit numbers and try to add them together. Then check your math.