Using an alternator off of a car there is no problem. The
alternator has diodes in it that rectify the AC to DC.
Old generators on cars used brushes to do the job, but
after the development of diodes that would do the job it
got a whole lot better.

Bill Gill