Yes you could do that. Most animators would just use the action(the container that holds the keyframes) and place the action in the NLA(non-linear animation) editor for each time the door opens. Then again keyframing a custom property would be just as easy.