In general yes, but Yuzu itself probably never was legal in the first place.
At least in the EU and US there are anti-circumvention laws that make circumventing anti-piracy/copy-protection measures illegal in itself even if its done on games you own. Since Yuzu used the prod.keys to decrypt the games, it most likely already broke these laws.