Hi, I assume you have a ESP8266 module with more than one input/output, such as the ESP-07 or ESP-12, for use its pins in LUA you must see the table of pin equivalence number:
NodeMCU Firmware on Github
(See GPIO NEW TABLE ( Build 20141219 and later))
for one-wire bus this is no problem (read: ds18b20 can be chained together and need just one data pin, since they all have unique addresses).
For dht11/22 i'm not sure...
edit - i am not sure to understand the question correctly, but i have a pwm dimmer and dht11 sensor connected to a esp-01 module running nodemcu, so yes - more than one i/o is possible if this was meant..