It's been done sort of. In the Booby Trap TNG episode. It wasn't shields but an energy field. But should be adaptable for shield technology by making it a more passiv system, if anyone could get their hands on one of the generators. Getting near it is kind of tricky though.