Why isn’t there a solution to detect loose neutral
Are you suggesting to detect a loose neutral in final subcircuits, or on the incoming mains?

Loose neutrals in final sub-circuits will generally cause series arcing, which should be picked up by AFCI breakers1. As the fault is confined to one circuit, there is no reason to trip the main breaker.

AFCIs aren't mandatory everywhere for cost reasons, and because they are quite prone to nuisance tripping where there is no fault.

Detecting over or undervoltage in the incoming feeder is possible. Some more critical commercial sites in areas with frequent power outages have this protection, which is usually used as a trigger to switch to generator power. Typically a separate relay would be used, which could be combined with a shunt trip device.

Loose neutrals on the feeders are not necessarily any more likely to cause fires than a loose phase. Damages are typically only to equipment overvolted.