depends how cooperative the Qataris are willing to be. There were news rumors about PAF engineers contracted with Qatari Air Force going to france for training on the rafales that forced india to ask france for details which was denied based on bilateral agreements between Qatar and france. If the news was true then that indicates that perhaps Qataris were very willing cooperate.
Pakistan has a strong network with all the Arab Gulf county's forces. Pakistanis do exercises with them, train them, provide technical support and even get recruited into their forces. And Air forces aren't any exception to that.
For example, I have personally seen many PAF uniformed officers going in and coming out of RSAF headquarters and even from the RSAF intelligence building within those headquarter in Riyadh. I have seen such things there that I can't disclose. And as per an RSAF officer there, there were even more PAF crew/officers deployed in the nearby airbase. A friend(of Pakistani origin) of my cousin is the member of Bahrain's special forces and manages security detail of members of the Royal family there. Similarly we have close collaboration with other middle eastern forces.
Qatar is also a close ally to Turkey. When Greece (arch rival of Turkey) is getting Rafales from the French, meanwhile Pakistani and Turkish Air Forces are busy testing/evaluating and refining their tactics against the Rafales. Heard rumors that apart from extensive Anatolian Eagle exercises, Qatar has also deployed 6 of it's Rafale in Turkey for that matter. And for those who don't know Turkey operates a military base in Qatar. And Qatar has poured tens of billions of $$ in Turkish economy during the recent feud between US and Turkey which started in Trump's era.
So there shouldn't be any doubt that PAF wouldn't have the hands on experience about the strengths and weaknesses of the Rafale fighter jet. And most probably J-10CP also would be pitching against the Rafales in simulated combats during the future joint Anatolian Eagle exercises. And it would benefit China too, to have an actual test data that how their platforms perform against the best EU has to offer.