Yes, you can use a ground rod instead of a GFCI outlet. Ground rods are made of copper or galvanized steel and are driven into the ground.
A wire is then attached to the generator and run to the ground rod. This provides a direct path for any electricity to flow into the ground instead of through people or equipment.