Yeah but why would you risk it? In the modern BVR environment, stealth as well as speed are life. Both USAF and PLAAF understand this. There's a reason why the Raptor and J-20 are both meant to supercruiseIt isn't prohibition, especially for a VLO aircraft with superior ability to initiate defensive engagement at its own will.
More so if your weapon is just longer ranged, more so still if your normal cruise altitude is many kilometers higher than for fighters...