You can modify commercial valves for use in airguns. For instance, in a QEV system, standard commercial valves can typically be used as long as you modify the rubber pilot diaphragm. However, I have heard that even commercial QEV valves and hydraulic tubing are under surveillance or regulation by the authorities there.
The hammer valve system is fundamentally simple; it has existed since the 17th century. You can easily understand the mechanics by studying a few design diagrams, and DIY fabrication is relatively straightforward. That said, hammer valves rely heavily on high-pressure systems to achieve significant power. If airgun-related components are strictly controlled in your area, sourcing high-performance equipment will be extremely difficult.