We'd do it if we were rewiring our place. We've designed lots of closets to have door-operated swithes that turn the closet light on when the door opens, off when the door shuts (like a refrigerator!).
We love the idea because it uses the light only when you need it and you simply can't forget to turn it off. Pllus, it keeps wall-mounted switches to a minimum, which we always favor over big banks of switches cluttering up a wall.
One such switch can be found here. We like it wired to a small light fixture like this Alinea fixture by Aamsco. It can be mounted directly over the door on the closet interior, where it will be hidden from view and best light the contents of the closet.