it's not the matress, it's the bed frame that has to be adjustable.
The matress has to be foam based, not with springs. So your existing mattress might not work on the adjustable bed.