Do you mean magnetic sensor or inductive?
Yes it is possible to do with several different methods. One would be a "reluctance" sensor where you put a coil around a permanent magnet. Then when a magnetic object (like your steel screw) passes across the end, a pulse is generated in the coil. This pulse can be easily detected by Arduino.You might want to put two steel screws opposite each other to maintain balance.