Can nonmechanical energy be converted into mechanical energy?

Heaven's yes.

Food (chemical) becomes muscular activity.

A battery (chemical) runs a little fan.

A motor (driven by electrical) runs a big fan.

Fuel rods in the power plant (nuclear) boil water (heat) which turns a turbine (mechanical) which runs a generator (mechanical to electrical) which runs everything (back to mechanical).