Your 24-inch iMac is an Apple-silicon Mac if it is a 2021-or-later model.
The warning you received is about an Intel-based app or component running through Rosetta.
Apple says Rosetta will continue to support Intel-based apps through macOS 27, with changes beginning in macOS 28. Apple — Using Intel-based apps on a Mac with Apple silicon
The good news is that Epson has specifically addressed this situation.
Epson says that if you are running macOS 26, its drivers and applications will continue to work normally.
Epson is also working on support for future versions of macOS and recommends checking the support page for your particular printer for updated software. Epson — macOS 26 Tahoe Support
So, with your iMac running macOS 26.5, there is currently no reason to stop using your Epson printer or avoid macOS 26 updates because of this warning.
The thing to check before a future major macOS upgrade is whether Epson has released compatible software for your particular printer.
If you give us the exact Epson printer model number,
We maybe able to help and check Epson's current information for that model and tell you exactly what, if anything, you need to do before upgrading.