That'd be useful. But since I don't remember implementing such functionality in any game making tool / programming language, this kind of stuff would be hard to fit in.
My code's filled with ugly 3-evented "move value towards 0", Function object would simplify things a little.