Sure, I can't imagine it being too difficult to compromise the keys for some first world country.
But there's no need to bother, you won't get busted at an airport because the chip of your passport failed. If they were suspicious, they'd just go through a document verification checklist and see if your passport has the correct physical features. Check out the PRADO glossary for example https://www.consilium.europa.eu/prado/en/prado-glossary/prad...
A bunch of EU countries still issue non-biometric passports, even if with limited validity periods.