Can electricity produce a magnetic field?

Yes. E=cB = zH = czD.

The two constants that relate electricity and magnetism are c the speed of light and z the "free space impedance and "Quantum" Constant, z=W/C = h/C2 = 375 Ohms. W is 500 atto Webers and C is4/3 atto Coulombs.