Yes, absolutely. NPN NO switch can be directly replaced with a mechanical NO switch. Connect the switch to the BLUE and the BLACK wire.
P. S. Why not use proper inductive switches? They are fun to work with, they have built-in indicator lights for troubleshooting, and they cost peanuts nowadays.