Set dynamic expire intervall for item

I don’t think that is possible, haven’t read anything about that yet.
But it looks like that is possible with a timer: