No. Dublin is the capital of the Republic of Ireland—a sovereign, independent country distinct from the United Kingdom.
Key distinctions:
The island of Ireland contains two jurisdictions. Dublin has been the capital of the independent Irish state since 1922 (Irish Free State) / 1949 (Republic declared). The UK has no sovereignty over Dublin or the Republic.