Exploring exact dualities in lattice models of topological phases of matter