Yes, it's okay not to enter your 1098-E if you didn't pay any interest on your student loans in 2024.
If you include the 1098-E and the IRS audits you, you'll need to prove you made the interest payments. If you can't, you might have to repay the tax savings and face penalties and interest. Generally, less than 1% of taxpayers are audited each year.