Flow commands as normal web scripts?

Hi,

is there a possibility to execute the Flow commands also via a PHP script on a page? Would this be possible in general? This could be helpful for example for executing the commands if there is no full SSH access to a Shared Hosting.

What do you think?