Yes, you can and should.
It is about how one wants it, what the right wording is.
I am a programmer. But as a person, for me the “night” starts after 18:00 and ends around 06:00
The first part is called the evening, the last part has the same name as the total period, night.
But to what day it belongs, I am confused.
Wim