Yes, it can be. If you copy someone else's game and host it on your own website without the owner's knowledge or permission, that's a violation of their rights and is generally illegal. Hacking or redistributing games you don't own can carry serious legal consequences.