The "short version" is yes, you can do that. My suspicion is that the 30amp plug from your generator isn't going to carry the load but hey...nothing ventured, nothing gained.
The two II terminals are your hot legs and the 0 is your neutral leg. You will need both a male (that matches your twist...