As long as you are both baristas, or a barista and a shift, yes. Can your SM still ask one of you to transfer? Also yes.
Think about it in the long term. It’s possible it might not work out, and then what? You still have to work with them, or one of you has to find another store?
$1 has some examples.