This type of litigation strategy is allowed in criminal cases for most kinds of evidence, but not all kinds of evidence. Discovery rules in criminal cases are not symmetrical. The prosecution has a duty to disclose evidence in advance to the defense, but the defense obligation to make disclosures prior to trial is much more limited.
The courts have, however, held that it is constitutional to require defendants to alert the prosecution to an intent to raise certain kinds of defenses if the defendant intends to rely upon them at trial because they change the nature of the evidence that needs to be presented by the prosecution.
Most commonly, the advanced disclosure rule applies to alibi evidence, an insanity defense, and/or presentation of expert testimony, but local practice varies.
If a defendant sought to present evidence that should have been disclosed prior to trial the court could either exclude the evidence as not timely disclosed, or grant a continuance to the prosecution postponing completion of the hearing to allow it time to prepare a rebuttal case, or could declare a mistrial caused by the acts of the defendant which would not prevent a retrial of the case. The decision made by the trial court judge regarding how to deal with the situation would be subject to abuse of discretion review by an appellate court.
Generally, if this is allowed at all, it would not be sanctionable, or improper.
It would be stupid to do this however, in most cases. In the United States, outside of Texas and a few other jurisdictions, the defendant has to pay for the cost of his criminal defense attorney, if he is able to do so, even if he wins at trial. The prosecution attorney is paid for by the state and not by the accuser. Until an acquittal is granted, the defendant is subject to serious limitations in the defendant's freedom prior to trial and may have to post a cash bond at economic cost (if the defendant can even afford to do so). Going through an entire trial when you don't need to do so, increases your out of pocket costs and restrictions on your rights.
If the exculpatory evidence is disclosed earlier in the case, if it is actually solid, it is likely that the prosecution will dismiss the case voluntarily, and even if it doesn't, in most felonies, it is possible for the judge to dismiss the case in a pre-trial hearing based upon exculpatory evidence prior to trial without risking having to face a jury that could go either way. This gives you two chances to have the exculpatory evidence believed, once before a judge and again before a jury.