I don't see a problem ... nor do I see a problem with any means used to help protect the cord.
Indeed, some time back I posted pics of such a cord thaqt was run through a garden hose. In that instance, the cord went across a parking lot for a 'sale' event.
The world generally has no problems with honest applications; it's when that RV sits in place for a decade and is rented out as an apartment that code officials start getting grumpy.