How to add email marketing permission checkbox to customer account?

Is there a way to add an email marketing permission checkbox to customer account so that it would add customer’s email to newsletter list if selected?