Pension Rollover

I have pension income 2023 that I received monthly. Can I still roll this over to an IRA in a lump sum without a penalty so that it doesn't count as 2023 income.