upload arduino sketch via LAN

So something like THIS or THIS

There are plenty of methods almost all FREE.

A simple search of the term "share com port over network" works well.

I have shared data FROM arduino serial statements from a COM port to a network and into a database or spreadsheet but not actually your method.