If it is a Dell Optiplex power supply then yes. The Optiplex has a special power supply made specifically for Dell it has an extra 6-Pin connector that is called the Dell 6 pin connector not the same as a 6 pin PCIE connector.
If it is the mid tower version you may have a chance that it is a standard power supply, but if it is the SFF version then it can't be done with a standard power supply. Only way to know for sure is to look.