ESP8266 - NodeMCU Setup

Hi guys, I would just like to ask, would a setup like this on ESP8266 - NodeMCU work? If it won’t, what are other setups or solution for this? Thank you