Build ML/AI model based off sensor data?

Is there a way to use the data I have in Home Assistant (e.g. presence, temperature & humidity) to teach an algorithm to control a device (e.g. AC unit)? Something like brain.js perhaps? In my search I found SillyHome, but that appears to be dead, is this just a niche idea that has no hope?