Can a prosthetic foot bend into a shoe like a normal foot can?

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.
Not well. The prosthetic foot does not have 26 bones with numerous joints that allow flexibility.