"Folding" a model like a piece of paper?

Is it possible to take a plane or flat box and fold it in half one end to another? Is it possible to do this multiple times to make multiple folds? I'm thinking of trying this with bones and joints but wanted to see what you guys think first.

Thanks in advance.

Assuming you mean, can you move the vertices of a mesh around programatically, yes. Bones is one way, would be an interesting puzzle. Scripting mesh vertices is another.