Given that the diode can be made to conduct, or not to conduct, simply by the choice of applied voltage polarity, then it must be possible to use any diode as a switch. So if you want to follow me, then just wire together the following circuit on a bit of breadboard, or something.
Set the [...]