I need to connect my esp8266 to a 50 kilos sensor where its actually two of them but in order to work they need a PWM from Arduino is there a way to implement it into the esp8266?
A kilos sensor (whatever that is), that needs a PWM input?
Better tell us a lot more.
Read the "how to post" sticky.
NodeMCU can do PWM output just fine.
Mind that you have a better resolution: the duty cycle goes from 0 (0%) to 1023 (100%), while the Arduino only goes to 255.