randomly my peripherals, especially my wireless ones seem to lose connection/power.
Check the usb power management isn't going into standbyGigabyte motherboard and its on latest bios.
Some of the wireless is on dongles
Yes but which one exactly or if you don't know that at least which chipset and series of CPU's is it, because this was a long standing issue with some B550 and X570 chipsets with the Ryzen 5000 series cpu's, or it sounds very much like that issue.Gigabyte motherboard and its on latest bios.
Some of the wireless is on dongles