Yes, in many cases HMRC can receive information about overseas bank accounts through international information-sharing agreements. Holding a foreign bank account is not, by itself, a tax problem. However, if the account generates income or contains assets that should be reported, UK tax obligations may arise depending on your individual circumstances.
Can HMRC Access Overseas Banking Information?