Labour's shadow Brexit secretary Sir Keir Starmer has said that it could be possible for the UK to remain a member of the customs union after the country leaves the European Union.