Voltage measurement on Analog PIN

I am using a Wemos D1 mini and I am powering the Sensor from the 5V Pin. Is that ok?