can electric current be generated by magnetic force?

Yes, if the magnetic field is changing with time OR if a conductor is moving through a steady magnetic field (which is what happens in some generators). An unchanging magnetic field can change the direction of current, but it cannot make moving charge change speed or "generate" it.