Muc off is virtually the same as fairy liquid. To shift grease you need either a solvent (like petrol) or surfactant (like a liquid soap). Solvent disolves the grease. Surfactants interact with the grease making weaker and possiblt to remove with water. Hence, they get past the seals and start to strip the grease.
You don’t need soap to remove mud, all it does it removes oil. After really wet muddy offroad rides a gentle flow from a hose and a sponge/soft brush is usually sufficient.
AFter you’ve cleaned put some fork oil around the seals, compress a few times, wipe, repeat until the oil stays clean.
I understand what you are getting at
A lad I know works in a chemical factory , one of the chemists there back engineered some Muc-off once ,there was about 80-100 ml of chemicals in the bottom of a litre bottle once the water was removed.
But everything he started off with was a chemical too. It will be a mixture of surfactants, thickening agents, foaming additives, colour and fragrance. There aren’t that many ways to make a cleaning product. Most soapy things are essentially the same with a couple of slight variations specific to their intended purpose.