Would a bad alternator cause headlight flicker?

I had same problem . All lights flickering after I changed to a 90 amp alt. Changed to solid state reg and problem went away.