Yes, the hardware is there in the N900 (as joerg_rw or ShadowJK pointed out), it's in the accelerometer (detecting taps, as on the Nokia E66), but the driver doesn't have support for it, and I'm not qualified to write/fix the existing driver.