I’ve never tried that myself, but it sounds theoretically possible. What you need first is to combine the wireless and wired interfaces in one additional interface and set method=shared on top of it. You can try with bond or bridge interfaces and see which one will work for you. The wireless and wired interfaces will be slave interfaces, where the new additional one will be a master interface.