Can I manage VAT credit and VAT returns from ERPNext?

Yes. You can select the ledger and see complete VAT paid and charged.

This report will give final VAT credit detail. One can export the
detail and use in filing VAT return.