A PCI riser card or extension cable should work fine. A YMF724F card should also work fine. I'd sooner recommend using a riser card than cutting up these HP thin clients to fit the card in straight, just not worth it. If you were to do any cutting, what you should do is cut a slot to run a PCI extension cable outside then get some PC case mounting screws with matching nuts so you can bolt the PCI card to the outside of the plastic case, much more compact and elegant.
Does your thin client look like this? https://www.ebay.ca/itm/323526142112?ssPageNa … 353.m1438.l2649
I have used this thin client (HP T5710) for a couple of years now. It works well enough, but it isn't perfect. Out of the box as-is, it is often too slow for decent Windows 9x gaming and inversely it's actually too fast for many of the more picky MS-DOS games. It's a kind of "jack of all trades, master of none" DOS and Windows computer. My only two real complaints with this computer is the parallel port doesn't work with my OPL3LPT or Covox clone sound cards. Now maybe this is due to me using Windows Me with the real mode DOS hack, maybe not. My other complaint is there's no way to adjust the CPU speed in the BIOS which sucks for DOS games.
Why do I use Windows Me with a real mode DOS hack applied? Because I found Windows 98SE would fail to install due to lack of drivers, sort of a chicken and egg scenario where to install the full HP USB driver + mass storage driver, it would disable the USB interface so I couldn't control anything. The PS/2 port often doesn't work for me either. The HP T5710 is a very USB-focused system, it works SO much better with a Windows that actually has good USB driver support, such as Windows Me. Contrary to popular belief, Windows Me actually contains USB mass storage drivers which kicks ass.
The one huge complement I'd give to the HP T5710 is its Crusoe Transmeta CPU which somehow despite not actually being an x86 CPU, seems to work flawlessly. It is some weird generic CPU that doesn't use a mainstream instruction set and architecture, thus it runs an x86 virtualization layer. What is rated as an 800MHz Crusoe Transmeta honestly feels more like a 400MHz AMD K6-2 than anything.