If I hook a generator to the bike and rig it up to illuminate a 100-watt light bulb, I'm generating at least 100 watts, when friction is taken into account, right?

So a series of bulbs will give me a rough approximation to my power output, or am I missing something critical?