Is it possible to make entries in files to remove themselves after so many days?
No.
Not directly, but you can always create a script that runs by a crontab entry that deletes everything that is older than a certain date.