there's a product called 'lizard skins' but yeah, stretching a section of inner tube around the lower cups works to keep road spray from putting gunk in the headset. I periodically squirt some oil in under the tube too.
But full fenders work just as well for keeping gunk off the headset, and with long mudflaps will also deflect water and gunk away from the bottom bracket, drivetrain, rider....