Doing this is against the rules.

V. Glitching
1) Taking advantage of the shortcomings of a map
A) Using methods not intended by the map creator to gain an advantage where it is 99%+ impossible for zombies to get you

that's just off the top for what I found, but I think there's a more specific one in regards to doing this to doors in general so people can't get through them.