Please, be aware that the deadline to contribute to the 401(k) for 2022 was December 31, 2022.
Yes, as long as you didn't contribute more than $20,500 total for both the 401(k) you are fine.
**Say "Thanks" by clicking the thumb icon in a post. **Mark the post that answers your question by clicking on "Mark as Best Answer"