It is rather in sense of origin. If I want to say you learn Hungarian, I would say: Magyaros vagy, Magyarosak vagytok, Te magyaros vagy? Hova menjenek a magyarosok? ...
Yes you can, but it's not as simple as switching Te to Ön. If you want to say this sentence informally, then you have to say: Ön (egy) magyar diák.