yes and no, Power Supplies follow a few form factors, meaning that there are sets of them that are all the same size, form factors include: ATX, Micro ATX, Mini ITX, BTX, among others. ATX being the most common, it's highly likely you can use any ATX powersupply in the place of another, as long as it meets or exceeds the previous ones power rating.