Not allowed in Australia without legislation anyway,.owners groups would shit their pants.
And they plug them into thier mains electrical systems how ? I can see them charging a battery and you get an inverter to run something from the battery but that's not the same thing.