Yes, that should work without any issues but my suggestion would be to buy temperature sensors and smart outlet which are compatible with Smart Life / Tuya.
That is because Apilio can now integrate directly with Smart Life / Tuya compatible devices, so you don’t need to go through IFTTT at all. This would avoid delays and would be much simpler to configure.
Caveat: Not all Smart Life / Tuya devices can be accessed by Apilio (some of them do not provide info), so have a look at this post with compatible devices: Smart Life (Tuya) product tracker: compatible products curated by the Community