You can stake some altcoins with you having your keys with you but this will not possible for bitcoin.
Yes, that works for altcoins which are run on the PoS - Proof of Stake algorithm. That is quite different from third party staking which is only what can be run on bitcoin.