Grammatically, yes the sentence is correct, but it's not quite natual. I think a more common sentence would be, "Even if the whole world expects you to be a certain type of person, I hope you are yourself"
Every person is a person, so the original sentence wasn't clear. If you add " certain type of" it is clear that other people have expexctations but you don't have to follow; you are just authentically yourself.
I hope this helps!