Trans cooler used for oil

Sounds like a very bad idea to me. If it were to get a hole in it when the motor was shut off the water would still be under pressure and force its way in your oiling system.I lost a trans from this happening. A motors a lot worse.