FWIW, I still use an AP2496 as main audiocard under Win7/10x64 and Ubuntu Studio on a modern PC LGA1200 motherboard without legacy PCI slots.
The solution is a PCI/PCI-E bridge, fully internal or with a extra breakout box.
If you can spare the analog RCA/CINCH I/O because of the induced offset on the backplate of around 6xM3*6+6 spacers worth, this internal one - Pericom PI7C9X chip based - works perfectly:
https://www.startech.com/en-us/cards-adapters/pex1pci1MIDI and Digital I/O are perfectly usable using the AP2496 breakout cable.
Mine goes to a battered DBX Quantum mastering processor used as a glorified DAC.

Once the AP246 sits in the computer, only the red RCA/CINCH input can be accessed (unless one's find extra flat 90° angled RCA plugs) on the backplate. Bar the DB9 breakout cable.
So I'm afraid there's not enough clearance for the Delta 410, 1010LT or AP192 much higher pin count breakout cable to fit, though.
Fortunately, there are some breakout boxes alternatives as well, that might allow to use all the M-Audio Envy series at their full I/O potential (don't quote me on that though).
Startech has a few, very expensive ones:
https://www.startech.com/en-us/search?search_term=PEX2PCIMuch cheaper alternatives on AliExpress, with a 5"1/4 enclosure to get all the I/O at the front of the computer:
https://aliexpress.com/item/32823213470.htmlSome powered one too:
https://aliexpress.com/item/1005005957051498.html
