It is grammatical but I don't think a native speaker would say it. First of all, it gives me the impression that meeting your first teacher would automatically follow from your returning to your past. I don't know what native speakers would say, but I would probably say If I could return to the past, I would like to meet my first teacher.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.