This article on thedrive has a good description of how old F-15s can get upgraded to AESA radar and go from air cooled to liquid cooled.
I'd imagine a similar process is possible with JF-17. But keep in mind that F-15C/D can only be upgraded to the less capable APG-63v3. Only F-15E can be upgraded to APG-82. So depending on the internal layout of JF-17 block 1, there maybe limitations on AESA radar that it can host. Maybe it has to use air cooled or maybe it has lower liquid cooling ability which leads to less power. Either way, all the additional electronics from AESA radar set and associated EW gear will add a lot of weight. Is it still worth making the change? Definitely. Based on what we are seeing with USAF's upgrade program, AESA radar is where it's at.
Aside from additional power, you have a lot of "beam agility, beam shaping" advantages with AESA that makes it really hard to jam. Also, you can do some much additional things with your EW suite that's just not possible with mechanical system. Another thing that people don't talk about is communication. As they said in there "AESA radar technology is known to have a secondary communications ability". Fighter jets have to communicate with each other, other assets and with missiles. AESA radar allows fighter to also communicate on narrow band at different frequency. I mean all of this is pretty complicated stuff. A lot of it is hard to do without advanced processors. But with modern technology, it becomes easier to do even on a small aircraft like JF-17.
Is this kind of change currently needed? Probably not. Iaf is using some pretty old and electronically weak Russian aircraft. Based on what I read on Pakistani forums, they don't even encrypt their communication. But over the next 10 years, they will induct more rafale and upgrade their mkis. It will be more important for paf to have electronic warfare advantage in terms of communication, radar tracking and ew. After all, detecting enemy em and hiding one's own em will be more important than ever.