You cannot apply REA to Harvard after being rejected ED by Dartmouth. The following is from the Harvard website:
f you apply to Harvard under our Restrictive Early Action program, you may also apply early to non-binding public or foreign colleges/universities (no Early Decision programs), but you may not apply early (in any form) to U.S. private colleges/universities First-Year Applicants | Harvard