Though I think C919 with WS-20 will be better for both tanker and AWAC. The Y-20 air frame specializes in heavy lift over efficiency, the latter of which is preferable for both aforementioned roles.
It should be noted that the C919 is not in the same class as the Y-20. It is much closer to the Y-9.
C919 may be slightly better than the Y-9 in terms of comfort, fuel efficiency, range, and speed so it may take over some of the roles currently taken by the Y-8/9 such as AWACS, ELINT, ASW, ect. However this is a big "may" because the Y-9 can still do pretty much everything that the C919 can do and it will be cheaper to purchase and operate. The PLA probably won't find a need to upgrade to the C919 for most of these roles. After all, the performance of these special role aircraft are determined mostly by the on-board equipment, not by the platform.
On the other hand, for roles better suited by a larger platform, such as aerial refueling, both the C-919 and the Y-9 are not big enough to be an ideal option. The Y-20 is big enough, but still not ideal because like most military lifters it sacrificed cruising efficiency for wider cargo space. I believe as long as the PLA can buy enough Il-78 then they will not bother to develop a C919 or Y-20 based tanker. In the long run the C929 should become the ideal platform for aerial refueling.