Even though they have the same meaning, I don’t see them as closely interchangeable like say, Mary and Maria are.
I associate Miriam with someone with Jewish heritage, or possibly descends parts of the Mediterranean. Stereotypically, I’d envision someone with dark hair and dark eyes, maybe olive skin. I’d find it an odd choice on someone who’s, say, 100% Norwegian.