Do you? Like by siding with the institute? and if so will you still be able to encounter him as a foe if you massacre everyone on the Prydwen and Boston Airpprt before the Mass Fusion events?
No. You basically invade the airport, climb the scaffolding where Prime is and corrupt him so he shoots down the Prydwen. He's destroyed as well in the ensuing destruction.