Is there an option on the printer's physical control panel in the menus to revert the firmware?
You can install Windows into a Virtual Machine like Parallels (paid app) or VirtualBox (free open source app), or even VMWare.
Unfortunately WINE doesn't have access to the necessary drivers and ports to the same extent as an actual Windows installation does. WINE if fine for normal apps, but it is not usually good for accessing external devices. It is also a bit risky using WINE to work with device firmware since many times if a firmware update is interrupted for any reason it may brick the device being updated. Firmware updates are risky even when using the proper tools and OS.
Personally I would thoroughly check the HP firmware release notes before updating HP printer firmware since HP is notorious for these shady practices. I would also disable automatic printer firmware updates. Sometimes the printer is configured to automatically install firmware updates, but it should be possible to disable by changing the setting on the printer's physical control panel on the actual printer if it has a menu interface.
While I always used to like & recommend HP printers (both inkjet & LaserJet), I no longer do so because HP quality and reputation have been destroyed. In fact I avoid inkjet printers whenever possible since inkjet printers are made to sell ink by using lots of ink to keep the nozzles clear even if you don't use the printer. When someone absolutely needs color I will suggest a Canon inkjet or if they only want to print photos, then a Canon Selphy printer, otherwise I recommend a Brother laser printer.