Yes, you can put a pergola on a raised deck. However, you will need to make sure that the deck is strong enough to support the weight of the pergola.