Building a deck over a roof is safe if you follow proper safety guidelines and consult a structural engineer.