Which is grammatically correct?
feeling as if one were in a dream
-or-
feeling as if one was in a dream
Both of them are ok,gramatically correct so simply use the one you see fit.
The first is correct, the second is not. The sentence is in the subjunctive mood.