They can pray for themselves, e.g. God have mercy on me a sinner. But they cannot pray meritoriously, in other words, their prayers for themselves do not earn a reward, but are part of their penance in Purgatory. Still, the greatest prayer is to praise God, and the second greatest prayer is to pray for one's neighbor. Then, thirdly, one may pray for one's self.
Roman Catholic theologian