X-ray mesh outline: ridges only?

I really like the way the X-Ray mode in 2.8 shows the ridges and valleys within an object. Now if it could show the ridges only, it would basically become a real-time freestyle renderer. Does this seem feasible to implement?

This is the current feature I’m talking about: