The question is actually already in the title…
There's no crossplay between XBOX and PlayStation, as Sony allegedly takes a stand against it. But how is it between PC and XBOX?
Battlefield 5 does not support crossplay. The PC, Xbox and PS players play among themselves. Rumor has it that Battlefield 6 is getting crossplay support, let's hope for the best ^^.