Assuming you can detect what clock speed the device is running at, such an approach should still be able to work on different devices.
Although with newer systems able to process multiple instructions per clock, as well as having clock speeds change rapidly, it probably wouldn't work as well.