Can I use a variable to drive keyframes?

In the sequencer I would like to drive xy values for scale or position, can I do that from f-curves? That is access math from elsewhere?