That's how Type 2 cables in Europe work, at least for L2 AC charging. DC chargers have built in cables, probably because the wire gauge needs to be a lot thicker to support the current (why haul all that around?) and for water cooling in the case of Supercharger V3s.