Ferry crossing and driving/rest hours

Legally no ,as with your shunt onto ferry takes you overtime for it all to fit in 24 hours ,but personally if my 11 hours were up once getting off ferry I would get on the boat .