Presumably you are using UMC2 and only pulling 32amps this will be easier on the cable than what it should be capable of, and if time permits I will turn amperage down a little more when on an extension cord.
Yes it works fine. You do need to get the adapter from Tesla to plug into the dryer outlet (be sure that you know the correct outlet because there are MANY 240 volt plugs used in the US and none of the plugs are compatible with each other, I have a 10-30). Been using it for over 16 months. I never unplugged the extension from the wall nor the mobile connector from the extension. This 30 amp outlet will charge @ 24 amps (standard 80% of max) and will put 23 miles of range into the Model 3 in an hour (so overnight will fully charge an empty battery). It only put 17 miles of range into a Model S per hour plugged in, Model 3 is more efficient. I keep the j-1772 adapter in the car for level 2 charging, Superchargers do not need any adapter. Unless you need to charge from almost empty to almost full fast, I don't see the need for the wall connector ($500). I was thankful to have an unused 240 volt dryer outlet available (my dryer is gas). Hope this helps with your decision.