any electrical motor, used as DC generator will have lower efficiency than generator. usually generators have AC output + some kind of diode bridge. i don't know exact details, it's all about efficieny. but any (or 99%) of motors can be used as generators without any risk.