iron pyrite have band gap equal to 0.95 ev which is beloow to the photovoltaic appliction band gap range . but this material use in solar cell application.
Yes, this material can be used as an active solar cell material as silicon has a bandgap of about 1.1 eV. The most important thing is that the material thicness must be sufficiently thick to absorb the incident solar radiation and the diffusion length of the minority carrier greater than this thicness.
Other application is that it can be used in multijunction tandem solar cells as the material absorbing the higher wavelength range of the incident solar radiation.