It works both ways: if you're leaving in hopes that it'll be a wake-up call to management that a valuable person left, then it probably won't be. And, if you leave your workplace to improve your own life, you've also necessarily chosen not to try and improve the workplace. Leaving means giving up on trying to improve them.
With that in mind, the exit interview isn't a trap so much as pointless: all you can do is hurt yourself here, you can have them remember you fondly or not, but you can't get them to change things in the exit interview.