Securing a closer trading relationship with the European Union will not be easy but it is possible, Sir Keir Starmer said.