Iron Golem Farms in 1.16.5

Is there a way to get this farm (https://www.youtube.com/watch?v=yhTHyexN4X4&t=0s) working in paper? Is it possible to restore vanilla mechanics to villagers?