Yes of course. Some days we don't collect from sheer laziness, if we aren't hatching them and if temperatures are reasonable.
The only problem can be if the eggs build up in the nest box so much that each one is not cushioned enough by nesting material. Then later hens can stand on eggs on top of eggs and break some.
The more hens you have wanting to use the same nest box, the greater the risk. (8 of ours think only one of the 3 identical nests is suitable.)
But for going away, you can always just dispose of any damaged eggs and clean the nests when you get back.