You only pay Class 2 and Class 4 on self employed income. The incomme you refer to could be deemed as this if you consider it to be trade. If not, you may be liable to Capital Gains Tax on it due to the buying and selling of the crypto. The £20,000 would only count if you actually put it into the SIPP.
For details on crypto see: