Can a generator be converted into an alternator?

Yes, by providing two collector rings on one end of the armature and connecting these two rings to two points in the armature winding 118 deg apart