In Phase 10, can Wild Cards be discarded?
Assuming you mean as your normal discard on your turn, yes.

From the rules:


  End your turn by discarding any one of your cards onto the top of the discard pile.


For clarity, if you by "about to go out" you mean that it is your turn, then no, your opponent cannot discard anything when it is not their turn.