I think an amazing song or piece could come from or certainly be used in a crappy movie, but I don’t think you can have a definitive entire soundtrack for a bad movie.
I could probably be proved wrong( I don’t think it’s entirely causal but more “they won’t pay for good music if they won’t pay for a good script” kind of thing.
The "Warsaw Concerto" was composed for the movie. I haven't seen the movie myself, but movies often use themes from the main song throughout.