Yes, the AMD AM5 motherboard socket uses the same CPU cooler bracket size as the AM4 socket.
This means that if you already have a CORSAIR cooler attached to an AM4 motherboard, you do not need to purchase new brackets or replace your cooler when upgrading your system to the new AM5 platform.