Is there a product I can stick into the USB port that would give it WiFi capability?
Yes, but how well it works depends on the exact variant of the imac G4. Early ones had only USB 1.1 ports and a wireless dongle would be very slow, no faster than wireless "b" speeds. Later iMacs had USB 2.0 and with some dongles can achieve wireless "n" speeds, the fastest currently available.
So look at "About this Mac..." in the Apple menu and then click "More Info..." That brings up System Profiler, whose first screen has a precise identifier for your model Look for something like "
Machine ID: PowerMac4,2. Post that identifier, processor speed and your screen size and we should be able to figure out if you have slow or fast USB ports
It's very important to understand that few USB wireless adaptors you find in an electronics superstore will come with Mac drivers or have Mac drivers available on the manufacturer's web site. To avoid this deal-breaking problem, I recommend buying online from a known Mac accessory distributor. Were I in the market for such a gadget, I'd buy this one:
http://eshop.macsales.com/item/Newer%20Technology/MXP2802NU2C/
I've bought thousands of dollars worth of Mac goodies from this vendor over the years and am completely happy with them, their service, and the products. (Disclaimer: I have no connection with this firm other than as a customer)
However, check you OS level BEFORE buying. Every USB wireless dongle I've seen requires Mac OS 10.3.9 to work. Older iMac shipped with a much lower OS level.
Awaiting to hear what you find,
Allan