I would have thought the best way to achieve this would be to develop military versions:
AEW
ASW
EW
VVIP transport
Surprised this isn't already on the cards, to be honest.
You have to have all the domestic substitutes ready before you do a stunt like this though. It is very hard since economical viability is very important for civilian aircraft.
You kind of have it back to front -- in terms of having military variants of a civil commercial airliner, you typically first want the base aircraft to be successful and viable in its role first before pursuing a military variant.
In this case, if the goal is to attain a domestic variant of C919 with complete domestic subsystems, you need a domestic variant of C919 to be sufficiently competitive to other products on the market (in this case, other modern narrow body airliners from Boeing and Airbus).
If you build a military variant of C919 using domestic subsystems which are not sufficiently competitive, that doesn't help your civil commercial airline variant goals, because it will not be competitive with the likes of other modern narrow bodies.
In other words, the rate limiting step/bottleneck is having sufficiently competitive domestic subsystems.
What sahureka wants is a "sanction proof" C919 variant, but the problem is a sanction proof C919 without sufficiently competitive domestic subsystems will not be competitive against modern narrow bodies in the rest of the market, and investing money for a situation where China is cut off from all foreign commercial aircraft and subsystems (for C919 exclusively or not) is probably not the best goal right now, but should instead be focusing on actual competitive domestic subsystems.
TBH, instead of trying to force a rapid and complete indigenization of the COMAC C919 in order to fit the needs of the PLA - China could in fact contract Xi'an (or Shaanxi/jointly with Shaanxi) to develop clean-sheet a jetliner that is purpose-built for PLAAF and PLANAF usage from the onset, with little to no relations with the COMAC C919 - With covert support from COMAC whenever necessary, of course.
Japan's Kawasaki P-1 maritime patrol aircraft (MPA) is the classic example of this route.
In this regard, China can certainly follow Japan's methodology in developing jetliners which appear in the form of civilian commercial jetliners, but with military standards for purely military needs by the PLA. Also, unlike the C919, such jetliner will be free from the various constrains that comes with commercial jetliners, particularly in terms of cost, efficiency and reliability.
Speaking of engines alone, China already has the WS-20 and AEP1300, both of which are suitable for A320 and 737-sized aircrafts (of which the P-1 being also in the same category).
In fact, the Xi'an Y-20 (especially the B variant onwards) large airlifter is already as indigenous as it is. So, if China really does need military-grade jetliners like the Kawasaki P-1, AVIC can certainly develop one, especially since they already have the experience and knowhow of developing large-sized aircrafts through the Y-20 project.
Needless to say, though, unlike the P-1 which has been developed by Kawasaki as MPA from the get-go - AVIC can develop said military-grade jetliner to be a universal platform for multiple uses, i.e. AEW&C, EW and ECM, ELINT and SIGINT, ASW, executive transport, and AACP.
Perhaps it's time to revive the Y-10 project... But the questions are: Is it necessary? And is it worth it?