Hello,
I can think of several ways to do that:
1/ "hold-time down 2000" on interface will mask 1-sec flaps
2/ assuming You have another physical interface which is used towards the same peer, use loopback peering (iBGP or eBGP multihop)
3/ use VPLS instance and IRB interface for peering. Make this physical interface as L2 interface and insert it into VPLS instance - this works only on MX. On SRX, You can use vlan.X interface but then You have to have another physical interface in same VLAN to keep vlan.X up
4/ I have several other esoteric options but don't want to go into details - the above should be sufficient for any sane network 🙂
HTH
Thanks
Alex