Yes, you can replace the 9mm slide with a .45ACP slide. You must change the ejector; the 9mm ejector sticks out farther.
No problem with the .45 magazines. The differences are internal.
For that matter, you can put a Gummint slide on a Commander, but it looks funny.
Regards, Art