Launching a dos program via the website

I’ve never been interested, and therefore I don’t know if it’s possible to run a DOS program through the site (of course I guess it’s impossible)?

Answer 1, authority 100%

If you are interested in the possibility itself, then it is possible, the appropriate rights are required.
PHP has a number of functions for this, such as execor shell_exec