Depends on your gaming box.
If your gaming box has fewer cores (say, an older i5 or current i3 CPU), you might notice Nextcloud running. Pihole is so light I doubt you'd notice even if your gaming CPU was a potato.
If your gaming box is more than four cores, I doubt you'd ever notice.
Where are you seeing performance issues? As your issue might be less with your CPU and more with storage or some other bottleneck.