Absolutely, exercise does affect sleep. It comes in different forms such as cardiovascular exercise, high-intensity interval training, weight training, yoga, swimming, and many others. Exercise generally increases body temperature and makes us more alert, not just during the exercise, but in the immediate hours after that exercise. It also has other effects on our sleep that can be leveraged. For instance, certain foods eaten post-exercise can help raise blood glucose just enough to maintain energy levels without causing a crash later. So, exercise is a potent lever for adjusting your sleepiness and wakefulness.