Can a current be generated by a magnetic field?

Yes. More specifically, a conductor must be moved in a magnetic field, or the magnetic field must move. (Otherwise, generating a current would violate Conservation of Energy, so without movement, no current is possible.)