Yes, "Hallelujah" by Leonard Cohen (originally on his 1984 album Various Positions) appears in the Shrek (2001) soundtrack, performed by Rufus Wainwright. It plays during the film's poignant montage sequence.