Short answer: No. Not really, but technically possible, yes, yet you'd probably be telling us how to accomplished it.
Converting factory ac to 110v (or your compressor only variation) is a common subject. CadilacKid has always done an excellent job of explaining the details and it's difficulties. I believe he could do it, perfectly & expensively, but not on an extension cord. Read the attached thread, his well versed post is #4, though, it's all good info.
https://www.skoolie.net/forums/f51/c...tor-17905.html
You'll find similar discussions using the search feature at the top of the page. I goolged
'
factory ac to electric site:skoolie.net'
for the aformentioned thread.
*A 12g, 100' extension cord is a good, safe investment*