Retirement tax questions

Does completing the transactions this way avoid the pro-rata rule and therefore no taxes need to be realized upon moving the non-basis Traditional IRA funds to the 401k and converting the basis to the Roth (backdoor conversion)?