It's not that hard to do, but it's better done with a plugin.
You can do it with events though and a bit of js.
Have an event run at each turn start with the following code:
Edit: removed due to typo, use the version below.
This code stores the hp mp tp state state duration buff and buff duration properties for every actor and enemy at the start of every turn in an array.
Specifically a $gameTroop._log array is created on turn 0 and is filled each turn with the actors and enemies array containing those properties.
So for turn 1 (before any action is taken) to get actor 1 hp you'd call:
$gameTroop._log[1].actors[1].hp
$gameTroop._log[1].enemies[1].hp for foes
When casting the spell of your oracle you just have to recall the proper turn then.
To recall for three turn earlier you'd do assuming using yanfly scripts were target is defined and a single target spell:
This defaults to turn 1 before any actions are taken if the cast happens before turn 4
Code:
var turn = $gameTroop._turnCount
var turnDes = turn - 3; if (turnDes < 1) {turnDes = 1;}
if (target.isActor()) {
target._hp = $gameTroop._log[turnDes].actors[target._actorId].hp
target._mp = $gameTroop._log[turnDes].actors[target._actorId].mp
target._tp = $gameTroop._log[turnDes].actors[target._actorId].tp
target._states = $gameTroop._log[turnDes].actors[target._actorId].states
target._stateTurns = $gameTroop._log[turnDes].actors[target._actorId].stateTurns
target._buffs = $gameTroop._log[turnDes].actors[target._actorId].buffs
target._buffTurns = $gameTroop._log[turnDes].actors[target._actorId].buffTurns
} else {
var index = $gameTroop.members().indexOf(target)
target._hp = $gameTroop._log[turnDes].enemies[index].hp
target._mp = $gameTroop._log[turnDes].enemies[index].mp
target._tp = $gameTroop._log[turnDes].enemies[index].tp
target._states = $gameTroop._log[turnDes].enemies[index].states
target._stateTurns = $gameTroop._log[turnDes].enemies[index].stateTurns
target._buffs = $gameTroop._log[turnDes].enemies[index].buffs
target._buffTurns = $gameTroop._log[turnDes].enemies[index].buffTurns
}
I haven't really tested it much, only gave it 1 try, but it worked for me, so it should work.