If you make it clear at the outset that you are volunteering your C seat for the Y pax, it should be fine for most airlines. Doing the dance back and forth is a no-go on any decent airline, so whether you are in the last row and first row, or at opposite ends of the airplane, is pretty much irrelevant.