Possible to lift a trap door automatically with an Arduino and winch-type motor?

Using an Arduino does mean you can add limit switches, make it automatically close after a delay, add a warning beeper if its about to close, add a light sensor to stop it closing if someone's up in the attic, etc etc...