You can certainly check-in in town very 1st thing in the morning, for a very late evening flight. Whether they will let you through security at the airport is a different issue. I think that in many airports they have rules about how long before your flight you can go airside.