Another way to say "A door can be opened or closed." is "It's possible to open a door, as well as to close it."