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.