There is a legal basis.
Such as an inherited signature in a will.
Succession Law of the People's Republic of China (1985)
Article 17 Notarization of a will shall be handled by the testator through a notary office.
A self-written will is written and signed by the testator, and the year, month and day are indicated.