Can confined mechanical metamaterials replace adhesives?