DON'T DO IT!
About 30 years ago I burned out the clutches in my A/T by coasting this way. The problem doesn't come from throwing it out of gear, it's that you can't shift back into gear without incurring damage (unless you coast to a full stop, then put it back into drive.)
It was a very
expensive lesson that I
never forgot.