No, PlayerPrefs are not safe, because it's well-documented where Unity stores them and with that knowledge it's trivial for any player who has a basic technical understanding of their operating system to edit that information.
But any form of data storage on the user's device is unsafe. If your game can read and write that information, then so can any other program. Encryption won't help either, because in order to encrypt and decrypt the information, your game needs to contain both the algorithm and the key, which a determined hacker can find, extract and put into their own cheating tool.
The only real solution is to store this data server-sided. Either on a server you control, or by using the purchase verification functionality of the platform you use for IAP.