Yea and just to be clear, that’s the choice I make.
However, there are situations where it’s not possible, because doing the “correct thing” would be more dangerous. Hard to illustrate with words, but there are some busy roads on my commute where the bike lane merges with the full lane, and then becomes a bike lane again after a busy intersection. The problem is, if you do the “correct” thing, rather than hugging the shoulder, you become exposed to cars cutting across lanes, at high speeds, with you essentially in their blind spot.
It’s a balance - you want to be predicable and do the correct thing as much as possible, but sometimes it’s just not safe.