No legal free software exists. Sony owns PS2 BIOS and game copyrights. Using an emulator (like PCSX2) requires:
Downloading BIOS or ISOs you don’t own is piracy. “Free” emulator bundles online usually contain stolen BIOS/files and often malware.
Legal alternatives:
Support developers—emulate only what you own.