Can any registered person claim the refund under Section 54

No. Refund can only be claimed under specified circumstances: –
(a) zero rated supplies made without payment of tax
(b) where the credit has accumulated on account of rate of tax on inputs being higher than the rate of tax on output supplies (other than nil rated or fully exempt supplies), except supplies of goods or services or both as may be notified by the Government on the recommendations of the Council           Provided further that no refund of unutilised input tax credit shall be allowed in cases where the goods exported out of India are subjected to export duty:
Provided also that no refund of input tax credit shall be allowed, if the supplier of goods or services or both avails of drawback in respect of central tax or claims refund of the integrated tax paid on such supplies.

(ICAI FAQ PUBLICATIONS 06-09-2017 REFUNDS: FAQ NO. 8)