Can I use only 2 DWM1001-dev and see their relative distance?

Yes, here is a post talking about that is capable of doing it for n nodes.