You can always use the PS4/PS5 controllers wired, tho doing do with the PS4 is maybe not the best idea as the USB port on the DualShock 4 controller was designed primarily for charging. It can easily wear out. The DualSense 5 Controller has better ports.

If you want to use them wireless then your best bet for the DS4 controller is trying to get the Sony USB Wireless Adapter on JP eBay (it has long been discontinued in the west), the DS5 controller works natively with regular bluetooth adapters (but not with said Sony DS4 adapter).