Well, it might or might not be cheating but look at it this way:
How would you feel if your wife/girlfriend was having fantasies about/screwing other people in her dreams? If your fine with that and she's comfortable with you doing the same, I guess there's no problem. But if you're feeling in the least bit guilty, perhaps you should persue other activities in your dreams. Guilt sucks.
Just my opinion, anyway.