Can I still vote after I have sold or lost my tokens?

Unfortunately, voting rights are directly tied to being in control of your tokens, so without them, you can no longer vote. It is of utmost importance that you keep your private key/seed phrase in a safe place. To avoid a loss, you may want to use a wallet that supports social recovery, such as Gnosis Safe (which is compatible with MetaMask) or Argent.