Well its not set in stone, hard to say until you try. It also depends on who made your WW2 upper and when. my no date CYQ upper fits on P1 frame but will not engage safety on cocked hammer. P1 upper will not fit on CYQ frame at all. BYF upper from 43 fits and completely interchangeable with P1, but it has some gap between frame and slide at the back which is not correct for hammer engagement.
So yes it may fit , but may still need some fitment of parts done to function as it should.
Its not AR15 unfortunately.