Asylum seekers heading for Australia could be held on detention ships before being deported to a Pacific island.