You can buy the components to assemble your own ESP8266 solution, but unless you are going to create your own custom circuit board, you are probably better off buying a packaged solution. Or better yet a separate WiFi solution to eliminate microcontroller latency if budget isn't the prime factor.