You can, by using the command: /summon minecraft:villager ~ ~ ~ {NoAI:1} this prevents the villager from walking and looking around maybe this is not what you want but I use it in maps very often