Sure. Mix RGB between two image texture lookups on the basis of some dot product. Probably, for what you’re talking about, for dot product is greater than some value, so you have an all-at-once mix.
The arccosine of the dot product is the angle between its vectors (in radians, and unsigned.) So if you want, you can mix on the basis of any particular angle you want.