Either word order is correct, but you have the wrong sequence of tenses: If I had been a bird, I would have flown in the sky ~ If I were a bird, I would fly in the sky.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.