Yes.
Although WiFi may not be the best communication method. You could do this with an XBEE or Nordic Networks modules. Look for "Moteino". That guy has lots of sensors working with the Nordic radios. Also look up "mesh network" which can extend the range by allowing messages to hop between nodes.