I’ve taken this strategy before, but now that I’m more senior I’ve found there are lots of positions that are not even in the right ball park that I’ll only find out after wasting a bunch of time.
Business relationships only work if both parties are happy; providing a number that makes you willing to work somewhere will avoid wasting time, and allow for them to adjust their expectations accordingly (i.e. fully appreciate how valuable you can be to them).