Yes, if you are legally married as of December 31 of 2022, the IRS considers you to be married for the full year. Therefore you can file married filing jointly in 2022.
Please review the guidelines below for additional useful information:
Getting Married
@hr1988
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"