If it supports PCIe Gen 3, you should be good to go. But you will be probably bottlenecked a lot with the 6700 XT being paired with 6th or 7th gen Intel. I'm sure the real PC tech guys will drop some knowledge in the thread shortly, so wait for more opinions and help.
Leonidas - Ryzen 7 5800X3D | MBA RX 6800 XT Midnight Black | Be Quiet 802 Silent Base (Main)
Maximus - Ryzen 7 3700x | Power Color Fighter RX 6700 XT | Fractal Ridge ITX Case (HTPC)