Yeah alot of people identity as both. I don’t think it matters too much which label someone identifies with more in the grand scheme of things.
But yeah pan fits under bi because both experience biphobia.
Bi = someone who is attracted to two different genders, pan = someone who is attracted to multiple genders or to whom gender doesn’t matter. There’s overlap, but they aren’t quite the same.