Blender Freestyle in depth control
If I understand your question, this is native behavior. Freestyle edges can not only be excluded, they can also be included. And you can include ONLY freestyle edges if you so desire.
This setup does it. I removed all edge types but edge marks: