I occasionally use a similar setup to charge my van... it works fine, but I'd keep an eye on things the first few times to make sure there are no bad connections that cause things to get too hot.
Theoretically... you should be using 13A sockets that are "EV" rated as these are designed to be used for a high load for long periods of time.
Some (maybe all ??) "Granny Cables" have in-built temperature sensors in the 13A plug tops that will trip out if getting too warm... but your extension cable will introduce new connections points that won't be temperature monitored.