No! You should never use an extension cable as these cables do not have the necessary safeguards.
Only the charging cable or the fixed cable to the charging station are suitable for safe charging.
Moreover, a charging cable has a communication wire and a specific resistor that communicates with the charging station. This therefore means that you cannot extend the charging cable with an extension cable.