Well why not use just the ESP8266. Otherwise yes it is fine. Note you can also use the analogue pins as digital I/O as well.
No Mike - the analog input on esp8266 cannot be used as a digital I/O.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16