Yes, it is against the law. Doing so violates copyright and constitutes theft of intellectual property. Unless you have explicit permission or the proper license, copying someone else's games and hosting them on your own site is illegal, so it's best to respect the creators' rights.