How would you write an animation with some cframes while playing it?

read the title, i do not know why i wanna do this, i just wanna know if it is possible / how

It’s hard to understand what you are trying to achieve, please try and be more specific.