But normally you wouldn't want to use a local SIM in China because of the great firewall. I usually buy local SIMs but China is an exception. I can't live without Wikipedia.
Most "travel esims" are data-only, but there are definitely domestic carriers/MVNOs that provide voice + text, and provide esims.