Yes you can claim ITC of GST paid on purchase of machinery ( a Capital Goods ) since it is being used in the course or furtherance of business.
As per the Provision of Section 16(1) of the CGST Act 2017, ITC on Inputs, Input Services and Capital Goods "used in the course or furtherance of business" can be claimed ( subject to blocked credit under Section 17(5) of the CGST Act 2017 ).