Ships certainly were - the Scottish slang term 'steaming' for drunkenness comes from the fact that pleasure steamers weren't restricted by licencing laws. This seems to exist at least from the Customs and Exise Act 1952 which exempted passenger aircraft, passenger vessels, and railway passenger vehicles. Even public houses could serve alcohol to 'bona fide' travellers at times when they would otherwise be required to be closed. That clearly changed at some point - the Licencing Act 1872 specifically permitted the sale of alcohol at railway stations to 'persons arriving or departing by railroad'. Railway stations were also the only place which allowed children under 14 to be in a bar after that restriction was brought in.