OK I am not sure if this would be worth it besides the learning part, as how underpowered a RPi is, still a nice writeup and if you have a RPi that can run on its own generated power, maybe something to do?
https://www.hackster.io/iayanpahwa/diy-crypto-miner-using-raspberry-pi-in-under-10-minutes-20cdd2