Put the issue of possible license violation aside, technically, AutoCAD can be automated via its COM APIs on the its computer, be it a web server or CAD station, as you did with the first couple of lines. You just need to learn more on Acad's COM API and how to use it to manipulate drawing content.
However, there is a lot more to consider if it is a feasible technically: Acad is a heavy, resource-hungry application. Do you want each web request from a user to start an instance of Acad on the web server? Acad's startup depends on so many factors and very likely pops up different message boxes waiting human responds for so many reasons. So, what if a messagew box blocks Acad and waiting someone to click "OK"?
So, even you can run/automate Acad on the web server (or other type of server, or a user computer) as unattented process, it is unlikely reliable/useful at all.