I've only done that when the game was free with the Games with Gold, or PS Plus.
I do have plenty of those that I bought but when free on PS+ I deleted my install to add the digital to the library just in case.
duduspace11 "Well, since we are estimating costs, Pokemon Red/Blue did cost Nintendo about $50m to make back in 1996"
Mr Puggsly: "Hehe, I said good profit. You said big profit. Frankly, not losing money is what I meant by good. Don't get hung up on semantics"
Azzanation: "PS5 wouldn't sold out at launch without scalpers."