Only if Viper is armed with AIM-9X. Otherwise with Aim 9L against Jeff with PL-10 is no match at all. Jeff will be able to lock and shoot at even ~180 degrees.
Missiles are always very important. By 2008-09, even our JF-17 block 1 was our most capable aircraft when we had BVR capability on it via R-77 but we hadn't received AMRAAMs back then. Our F-16s were good for nothing in BVR combats. Its the missiles which changed the game.
In this era, block52s being capable machines again cannot perform at their peak with older generation of missiles. We know, we will not get newer generation of US missiles (Aim-9x, AIM-120D).
JF-17 block III totally different & mean machine. AESA, EW suites put it in 4.5 gen category. It took a long time of serious commitment & development to bring this variant. I am certain, if we had block III available in 2019 then these would have snatched all the kills from our Vipers. Its huge difference between JF-17 block-2 radar to JF-17 b3 radar, huge difference between R-77 and PL-15E, huge difference between PL-5 to PL-10e. Whole range of capabilities are their in block-3. It looks same but its not. Its 2x in cost and 3x in capabilities.