Yes. You can buy 4 carpets from the villagers with 1 emerald. And only Apprentice shepherd villagers have this chance.