Animation and Logic

Can the logic function of blender be used in the regular animation without the use of blenders game engine? I would like to know so my process is a bit easier when animating technology for say an automatic futuristic door that opens itself up if a object collides to a certain object.