In the stable version, I don’t believe so.
In the experimentals, yes, but I don’t have much experience with hooking different types of alternators up to it. I have, however, been successful at using foot pedals together with a motorbike alternator and motorbike battery to keep headlights and floodlights powered, so knock yourself out. I’m disinclined to think that foot pedals will charge the alternator if the vehicle isn’t moving–I don’t think that they actually have an “idle” function like gas engines do–but I could be wrong. Even if they do, you’re not going to produce a lot of power this way. My own experience has foot crank + alternator being able to cover lights or maybe a stereo system and that’s it.
My only misgiving with regards to putting an alternator, battery, and lights on a bike is that you can end up adding a fair bit of weight this way, and foot pedals can really only handle so much, depending upon your Strength. Use the lightest alternator and battery you can–typically a motorbike alternator and motorbike battery; I don’t know if a small storage battery will be enough, but if it is, it’ll save you quite a bit of weight over a motorbike battery–you might even be able to install more than one small storage battery if it helps. If you have trouble hauling loot in a muscle-powered bike with alternator/battery/lights setup, make sure you’re using the lightest parts you can; if you can’t fix the problem by substituting lighter parts, you may need to switch to using a battery-powered flashlight (or night-amp goggles, which are better if you want to use the bike for night raids in zed country) for night biking.