That's the real question
macOS 15.x support seams realistic. Beyond that is quite the risk.
I speculate that GPU improvements I'm the Studio M3/M4 will advance beyond the best PCIe GPU supported in a 7.1. Possibly there will be an edge case. But in summary, a Studio M3/M4 should be more powerful, not much more $, and will get ~10 years of macOS support.
I'd love to have a 7,1 but the value proposition slides quickly with every passing month.
Yes, I WOULD say an advantage is dual boot to Windows, but MS dropped a lot of support for hardware with Windows 11, is ditching Windows 10 support next year, and the upcoming Windows 12 is also said to drop some support for hardware. People with 2 year old computers couldn't run Windows 11 officially, so IMO it's a gamble how long Windows will support 7.1 hardware, then again if all you use Windows for is games you can not care about security patches as much as if it gets infected you can just wipe it and start again. So long as the Mac OS is left alone.
Then it comes to upgrading. You can upgrade the CPU and storage, but it seems GPU's will be limited.
Have to agree a Studio does seem to make more sense these days. Plus it's cracking value compared to the MacBook Pro range. And of course the Studio costs a lot less to run and fits on your desk.
And these days you need security updates really as holes are being found in Apples software.