It is (sort of) compatible. But since the A500 does not have enough address lines to use more than 512kb from the trapdoor memory the remaining RAM will never show up.
Also the addresses lines that will kept floating will make the Amiga behaviour wobbly, at best.