I’ll confess I do this with some regularity. If I unwrap a piece of cheese and see it’s moldy, well I’m not tossing a nice hunk of aged gouda in the trash! I’ll slice the mold off, then do a sniff and nibble test. If it still tastes moldy, keep slicing until it doesn’t.
I’ve done this since I was a kid, so who knows if it’s actually safe, or if I’ve just spent decades rolling the dice and getting lucky.