Hey, this is pretty interesting, but I don't think it works anywhere close to what todays mining units do.
I tried mining on an old computer myself and even bought one long time back for the same job, but every penny went in vain.
I recently started with cloud mining, where they rent mining units on their platforms and it really did the job but Idk why many people don't know about this yet. RRMine and Bitdeer are two leading companies in the domain, do consider these options. I personally use RRMine and have made a pretty good source of passive income.