A prosecutor could allow defense evidence, but why should he/she?
A prosecutor could allow surprise defense evidence, but why would they. However, if the prosecutor actually has knowledge of exculpatory evidence, he absolutely has to present it. But as can be seen from the NY sham GJ shenanigans, nothing happens if they do not (although it is blatantly unconstitutional to not do so).