Can I spray the P-40 pants with a water-repellent coating after washing?

Yes, but spraying on a water-repellent coating can reduce the fabric’s breathability.