Agreed, seems simple to do and I think it is done.
I have owned 2 model S vehicles, (2013, 2023) and both will gripe and eventually stop charging when they detect a lower line voltage while charging at 240V, which is what will happen when there is too much resistance / thermal loss anywhere...