Can I efile my 2023 taxes now even though I only mailed my 2022 taxes last week

I mailed my 2022 tax return on October 9, 2024.  I don't know if the IRS received it or not. Can I efile my 2023 tax return on October 15, 2024?  Or must the 2023 return be mailed?