Yes, a pergola may be installed on a wood or Trex deck. A few bolt-down brackets would be necessary for this, and the bracket would need to be adequately strengthened underneath the deck. Additionally, the deck must be thoroughly stabilized before construction can begin.