Do-able. However, I am sure you need to sample at least 10 times in a second to accomodate upto 180beats/minute. You will need something like FRAM to store the data. My rough estimate is around 1M octet of storage for storing 24Hrs to be able to reproduce the waveform later.