Is there a way to turn on Heart rate only during an activity?

Is there a way to turn on Heart rate only during an activity? I don’t need to monitor my heart rate during normal days. Need the heart rate during exercise but don’t want to keep turning it on and off.