Caffeine raises your heart rate for a short(ish) time, but at least for moderate amounts of consumption that doesn't seem to have any negative effects. There are even some studies that suggest that one or two cups of coffee a day may have health benefits, including the cardiovascular system.
Cocaine on the other hand seems to raise your resting heart rate because it damages your cardiovascular system [1]. Your heart has to work more to achieve the same result, the opposite from what you want to achieve with exercise.
Cocaine on the other hand seems to raise your resting heart rate because it damages your cardiovascular system [1]. Your heart has to work more to achieve the same result, the opposite from what you want to achieve with exercise.
1: https://journals.plos.org/plosone/article?id=10.1371/journal...