Is it possible to mine cryptocurrency on a VM? [closed]

Mining cryptocurrency is not allowed without Google's prior written approval as per Google Cloud Platform Terms of Service:

3.3 Restrictions. Customer will not, and will not allow 
End Users [...] (iv) to engage in cryptocurrency mining 
without Google's prior written approval;