Matter devices are unavailable

Yes, you can restore the Cloud Backup, that contains all your Flows
You can use this tool to fix the Flows with new device IDs