and use it remotely, on another computer. That's what happens in an office network environment, when you run application servers.
What you mustn't attempt to do is run applications on a server for anybody to use if you don't have a distribution licence from the software company that developed the application.
Perhaps that's not what you had in mind, and if you explain what you have in mind in more detail we'll respond. In any event, you wouldn't be embedding anything in a website - the application would need to be installed and running on a server.