Yes, you can unstake your GMX Tokens at anytime. However, once you unstake the GMX, you will lose your collected Boost which results in higher rewards.