Question: is i wish i was grammatically correct?
Answer: Nope! “I wish I were” is actually the preference of grammar experts because you're talking about something that hasn't actually occurred.