No, went back and re-read, we’re both misunderstanding. He wants an outlet, but no cables between the outlet an the generator. Why, I have no idea.
Given the new context, it is possible. Can’t be done on a vanilla outlet, but with a custom one you can do it.
-WM