I do this, have done for many years. My current setup is very simple. I use a PC for everything other than web development, I have a MBP for that. Not a particularly powerful one as I don't need it, all I have is that 2019 MBP 13", 8GB Ram, 128GB SSD.
I have recently switched from a 2 monitor set up as a friend got a widescreen and I loved it, so went for a 34 inch LG 3440x1440. I need only 1 cable for the MBP. A single USB-C to USB-C provides both video and power/charging then I have the magic keyboard, magic mouse then a stand to sit the MBP vertically and allow any expelled heat to rise.
The great thing about this is that it's so tidy with just a single cable and when I need to take it on travels just remove a single cable, the power brick is already in my bag and off I go.
Even with such a big monitor, the MBP handles it just fine, and the LG software allows an easy way to split the screen if you want multiple windows.
If you don't need portability the Mac Mini is fine depending on your GPU needs and gives you a bit more flexibility in ram upgrades and you can always add on an eGPU if you wanted more.