Of course it can (you don't need the folder "zenphoto" btw). Subdomains are technically no different to domains. Nothing special needed actually. Best example our own demo:
https://demo.zenphoto.org
If you get a blank page you should review your server error log.