It depends on what permissions the host gives you, but I would think that you should be able to since it is a very common requirement for PHP applications these days. The best way to find out is to ask your host how you can run composer and they should be able to give you details on how you can do it.