Yes that's true, and that's why evolution by natural selection is a process of Bayesian model updating. Here's a nice paper on this equivalence: