HMC5883L control Stepper motor (degrees)!!!

Hi I'm working on a project where I want magnetometer control the stepper motor from 0-360 degrees.. This is possible happend and if so how? thanks

Yes, it is possible. Write a program to read the magnetometer, and step the motor appropriately. There are many examples for each part on line.

Keep in mind that most stepping motors have 200 or fewer steps per revolution.

I have a program for magnetometer but I don't know how to make stepper attach with it

Google "arduino stepper motor control"

Stepper motor can work as a servo? For example if magnetometer write 20 degrees stepper motor will write 20 degrees too?

In general, no.