Sure... as long as it's a quality magnet with a good, conductive plating - although I wouldn't use any magnet for resistances below 0.3Ω. Use a rubber or other non-conductive washer to keep it on center in the tube - a sharp blow (like a drop) can cause the magnet to shift and dead short... without centering retention.