Is Pegasus still working, or OS manufacturers patched the vulnerabilities it was using?
it usually infects the intended target using an exploit (0-day) that doesnt have a fix, if you're asking if there are 0days that can hack modern iPhones, the answer is most likely yes, given the most recent hack against the iPhone of one of the executives of the russian cybersecurity company Kaspersky [1].