I was thinking more along the lins of what forum user John Deglavina did.
His device uses CTs, and an ESP32. Although it could have used other MCUs as well.
It’s capable of being expanded to 42 channels.
Ref:
and
(He sells this version for 55 USD, the one linked above for 75 USD)
If nothing else, some good info in the threads linked above.