I am pretty sure this method (using a 220 volt plug as an inlet) is illegal where I live. So is rigging some sort of "suicide plug" and running it into your 30 amp clothes dryer plug. Anytime you run auxilliary power into your house by whatever method the main breaker needs to be "off" for safety reasons including the possibility of electrocuting power company workers. As you said a Generac or other whole house system does this automatically if you have a portable generator plugged into your house with an inlet jack the transfer switch box or interlock plate needs to be in the correct position to cut off the public utility power.
All of this is common sense but as we all know that can be in short supply. In every hurricane down here there are people who die from carbon monoxide poisoning due to running generators indoors despite warnings all over the news not to do that in the storm run up. In an attempt at "idiot proofing," our current generator actually has a CO sensor that shuts it down if carbon monoxide levels around the machine rise above a safe level.