Err, in a word, no. The magnet passes the sensor once every time the wheel turns around.
It may be advantageous to put the magnet and sensor fairly close to the hub. Close to the hub the spokes are nearer the frame, so the magnetic field is stronger at the sensor. Also, when the magnet is nearer the hub, the sensor has longer to respond before the magnet leaves the sweet spot.