Depends on Design
There are a number of commecially available prosthetic foot designs.
Generally speaking, the ones that are more flexible are considerably more expensive. The low end designs are quite basic, simple foot shaped lasts that have a slight "roll" built in to them. Higher end foot prostheses may have joint movements very similar to a human foot.