Of course you can,

 

Using the example I give you, just take the Valid to is Less than the time the event is scheduled:

Marco0o1_0-1686596263067.png

 

And instead of send a email in the In the for each records, you can use Update value: Active to "False". Or you can delete the record.

Marco0o1_1-1686596415864.png

 

If you want to compare Dates yo can use Date Compare in the Flow and using a if condition:

Marco0o1_2-1686596481654.png

 

Just need to use your triggers, when you want to trigger or schedule.

 

Hope that help you.