OSHA has addressed this issue for portable generators and recognizes that, under certain circumstances (e.g. travel trailer), the frame doesn't need to be grounded, but itself can act as the ground. See the attached document - I circled the relevant information.

Attached Images
Attached PDF document
Grounding_Portable_Generator.pdf (66.72 KB, 162 downloads)