It is very easy to shift working hours towards afternoon/evening/night - if you do want to have some family life then I suggest isolating yourself into separate room during your working hours and making your family aware that 9-5 is when daddy works :-)