Most expansion tanks have a diaphragm just like a well tank. They will usually work fine as a well tank. However, be careful of the inlet size. Most will have a 3/4" pipe to thread on, but the hole inside the 3/4" inlet is important. The hole needs to be large enough to have good flow from the tank and some expansion tanks only have a hole the size of a pencil.