Yes, you can, if the generator has an output of 20A at 120V or rated for 2400W.