I’ve heard about dishwasher salmon, too.
Yes, wrap it securely in several layers of foil, with big chunks of butter and lemon inside. Put it in the top rack and run the washer without detergent (or any dishes). It cooks the fish gently and beautifully.