It absolutely can be a vm. Someone even got it running on a 2 dollar esp32. Its just making api calls