No, it can’t because files in a computer are too easily copied. The thing with an iPhone is that it’s a closed system with controlled external access, so there it makes sense.
On a PC or Mac, or wherever it’s trivial to make a copy of the file. Also it’s very easy to mount an ‘offline’ password guessing attack. In fact, we offer such a ‘brute force’ program to help users who almost know their password try to find it again.