Obviously the math could only work like that if every applicant were successful.
However, if the fee for a successful job application were increased to reflect the ratio of total applications versus successful ones then this pricing model you suggest could work in principle.