Can I do Backdoor Roth for 2022 in 2023?

Recently, I learned about Backdoor Roth and I would like to a.) contribute $6K for 2022 in my traditional IRA account and then move to Roth IRA account , b.) contribute 6,500 for traditional IRA account and then move to Roth IRA account.  Is that fine?

 

I have already moved funds from traditional IRA account to my current employer's 401K account. So the traditional IRA account is empty.