Is it possible to create a iot with Alexa and esp8226

I want to create an arduino smart home device with Alexa. But I don't know how to set up the internet of things to do what I want to. I am probably going to use espalexa library but it only has options for lighting controls. Please help.