This is a possibility, especially for high pressure storage. However, a significant loss of energy occurs during compression in the form of heat that would have to be recoverable for efficient recovery of compression energy.