Yea, it’s completely frame dependent. If you look at my Specialized AWOL, the limiting factor for tire clearance is the width of the chain stays. Obviously chainstays are narrow near the bottom bracket and have to flare out to fit the hub, but they way they are bent on my particular frame, they run essentially parallel for a few inches before they flare out toward the hub. This means that even running a 650b tire, I’d likely be able to fit the same width tire as on a larger diameter 700c wheel. However, on many frames the chain stays flare out more gradually, or the limiting factor is something else like the seat tube or bottom bracket, so you can run a wider tire if the diameter is smaller.