Yes, but: and, I think the above posts can be condensed as -- you don't, usually. The value for them is in transmitting pressures, and for hydraulic, volumes as well.
One of the kind of interesting things about mechanics is, you're often working more on the positional side of things. Analogous to electric charge, whereas we more often work with current (flow of charge).
That said, fluid transistors are a known and standard-ish sort of thing. The usual downsides apply: it requires bias flow, pressure drops in connecting tubes add in series, you need relatively large spaces (where still flow and less turbulence are present) to act as unipotential nodes for analysis and measurement purposes, etc. (Remember not just hydrostatic (gravitational) pressure, but also dynamic (ram pressure) and Bernoulli effects too.) And transmission line effects (acoustics) are much worse than for electronics (speed of sound is relatively low in relation to the size of components), as well as dispersion and losses. So, long lines are lossy, but reasonable quality resonators can still be made from cavities in either much stiffer, or much more flexible, materials. (Hmm, yeah. Come to think of it, bellows, elastic bladders, trapped air headspaces or gas pistons, etc. act much like lumped equivalent components. And like electronic components, will suffer from wave effects at high frequencies, so, frequencies well below there are fair game, given of course you don't run afoul of the numerous other modes that apply: splashing of free surfaces, turbulence, etc.)
Tim