Creating visualization-based alerts

Good morning everyone, I’m new to Grafana and new to the forum. My question is: is it possible to create an alert based on a ready-made visualization and with data transformations? I saw that when we create the alerts, it is only possible to build the query, but not to transform the data. Is there any way to make this work?

For example, I would like to get the result of the last column of the table below and create an alert for each device that changes connection within 60 minutes.