Can I add email validation equal to the password?

Hello everyone, I have a query! Is there a way to ask for the email twice and that they match? Operation more or less the same as the password field and password confirmation.