Yes, it might be cheaper to book your ferry tickets for Greece in advance. There are lots of earlybird discounts in the beginning of every year. So if you know your dates and route, why not book straight away? Later on in the year there might only be more expensive fares available and no discounts anymore.