Its quite possible. The ESP32 is basically a micro-computer that only accepts a few programming languages (Arduino Wire Language is probably the easiest).
There are a few different ways to have the ESP32 write data to an IP address. The two most popular and straightforward ways are TCP Sockets and HTTP Requests.
Do you know how the IP address is expecting the data?
Thanks for the clear answer and the warm welcome Jacob
I was hoping that I wouldn’t need to use an additional micro-computer like the raspberry pi to achieve this. Because I’d like to use four power monitors. Each of them would send it to a different Port via TCP. I would then create a Windows service that listens to the incoming traffic on those ports that would process the data.