Gorecki not as far as I know, I think Lutoslawski did very early in his career, though not for any “important” feature films, and not later in life.
Francis Ford-Coppola wanted that “Eastern European avant-gardish classical” sound for his Dracula movie, and he asked Lutoslawski, who told Coppola it takes him way too long to write a single minute of music to be commissioned for a film score. That’s how Coppola came to Kilar, who not only belonged to the Polish “triumvirate” (Penderecki, Gorecki, Kilar), but was also an experienced film composer.