Ultimately you can do what you want ^^, but it's worth considering the environmental impact of what you're proposing. Say a mining rig uses 1kW - for 2 years non-stop that's 1kW for 17520 hours. If CO2/kWh is 0.85lbs, then that's 14892 lbs, or 6.75 tonnes! The average passenger vehicle emits 4.6 tonnes of CO2 per year - that's less than our hypothetical rig!
https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-t...