Assuming you’re going to sleep at vaguely normal hours, that is very late to be eating much of anything. It’s hard for the body to digest things while you sleep and it can make your sleep more restless. Maybe you can tweak your schedule to get a meal in the evening well before your workout?