Yes, Yoda's grammar is generally considered to be correct! Yoda is a fictional character from the Star Wars film franchise, known for speaking in an odd and backwards grammar structure. This style is known as Yoda-speak, and it is reframing the syntax of Standard English in a funny and memorable way.
Yoda-speak follows the same basic rules of grammar that Standard English does. The rules are just applied in a different way. For example, instead of saying "I will go to the store," Yoda might say "To the store, I will go."
Interestingly, Yoda-speak has been studied by linguists and language theorists for decades. It's viewed as an interesting way to reframe the syntax of English in a distinct and enjoyable way.
However, it's important to remember that Yoda-speak is not a real language in and of itself. Instead, it's an imitation of Standard English that gives the language a unique and fun flavor. Yoda-speak is not intended to be taken seriously, but it can still be a fun way to spice up your conversations when speaking English.