Record and replay again when on vacation

Is it possible to record a set of specified lights and the replay what was recorded, say one week ago, when on vacation?

Is yes, how would that recording and Utomation look like?

Yes, take a look at the Presence Simulation integration: GitHub - slashback100/presence_simulation: Home Assistant Presence Simulation