Hi,
The Epson WF-2860 is listed as a supported printer in About AirPrint - Apple Support (en-us edition, January 23, 2024). This means that it should work for printing without additional drivers/software, provided that the printer is connected to the same network (Wi-Fi router) as a MacBook Air (or iPad/iPhone).
Do you have an old/spare Wi-Fi router (almost any model should do)? If so, you could carry out an experiment with that device. If not, something suitable could probably be found for a few dollars in a thrift shop.
The interesting part is the local side (LAN/WLAN) of the router. The Internet port (WAN) does not have to be used/connected. Once your own wireless network has been set up, you would have a Wi-Fi "hotspot" for AirPrint printing purposes only.
Also, AirPrint works with wireless (Wi-Fi) or wired (Ethernet) network connections. The WF-2860 has Ethernet in addition to Wi-Fi, so you could choose to wire the printer to one of the LAN ports of the router instead of using a wireless connection.