Yes. The Cyberpower’s tend to use a 9AH battery in the same form factor that’s normally a 7AH, but it’s just a higher capacity. Check what physical size the UPS uses and go from there. Keep in mind you can have different battery sizes for the same capacity UPS. APC used to make a 280, 420 and 650 that all used the same batteries, and a 650 that used the next size up. All appeared identical except for the cutout in the bottom where the battery was loaded in.
Used Supermicro 846 and 847’s are a bit cheaper and more bays, and easy to modify to be fairly quiet.