There is no definitive answer to this question. Some people find that working out before bed helps them sleep better, while others find that it makes it harder to fall asleep. It depends on the person.