Yes, you can add an expression to a keyframed property, but the expression has to supply the property’s value at all frames, not just at a particular keyframe. You might be able to achieve the desired result, especially if the keyframes are linear, or you’re willing to accept the easing provided by ease(), easeIn(), or easeOut() expressions. However, it gets trickier if you need to preserve some custom easing.