Of course you can. You just have to configure your webserver to allow it (assuming you have access/permission) just as Corion and almut reported. If you can't edit your webserver, you're out of luck. Unless you can drop CGIs in a specified dir for execution. That's a typical setup.