But personally, it is not recommended to exercise before going to bed. It is best to advance the exercise time.
Exercise too late is easy to sleep well, after all, it will keep the heart rate at a high level, and it is easy to dream more at night.