Afraid I have no idea how easy it would be to build as I have no experience with electronics except for very basic stuff.
The PoKeys can be bought which has 55I/O of which 3 can be used as analogue inputs to Mach. Also as said before I use a PLC on my machines and have analogue input modules, so that is another option but a lot more expensive if all you are wanting is analogue inputs.
Hood