Animations: storing key frames in typed arrays

Since replacing animation object in scene is complicated, maybe there could be another way by replacing [[Prototype]] of the animation object using Object.prototype.__proto__ or Object.setPrototypeOf or Reflect.setPrototypeOf.