Can a wearable track heart rate?

Yes. Many smartwatches and fitness trackers use optical sensors to estimate heart rate. Accuracy can be affected by fit, movement and the type of activity.