Relativistic dynamics is different from Newtonian dynamics in a lot of ways. Force isn't parallel to acceleration anymore. Acceleration gets harder the faster an object moves. You can mimic some of these changes by just pretending that you still have Newtonian dynamics but the mass can change with velocity, but we don't use this language in physics because it's misleading -- there are many effects this idea can't capture. (For example, the fact that force is not parallel to acceleration.) It is a very fragile analogy that causes a lot of conceptual mistakes.
It's easy to prove that Newtonian mechanics conserves momentum. It's also easy to prove that relativistic mechanics conserves momentum. A weird hybrid of Newtonian mechanics plus a magically changing "relativistic mass" does not conserve momentum, but nobody has ever thought this was a correct description of nature. It's the result of taking a helpful simplifying analogy too far. Any reactionless drive formulated using this Frankenstein theory doesn't work.
If you just bounce an object back and forth, in either Newtonian mechanics or relativistic mechanics, you won't get anywhere. If you change the rest mass of the object to be different going right than left, you will go somewhere, but it will cost momentum to do this, as explained in gus_massa's comments. So we haven't gotten thrust for free.