I think it is allowed. The PD spec mentions requirements for charging-only cables, these can actually be certified, if I understand correctly.
I also think it's not necessarily a bad thing since it minimizes the risk of 20 volts short circuiting into D+/D- lines of a sufficiently abused cable.