No, a faulty alternator will not cause an MOT failure. It isn't checked during the test so you're unlikely to learn about an alternator problem during an MOT appointment.