No, GTA 5 and GTA Online do not support crossplay between PC, Xbox, and PlayStation players. Each platform has its own separate servers, meaning PC players can only play with other PC users, while PlayStation and Xbox players can only play within their own console families.
There is limited cross‑generation support for example, PS5 players can join PS4 players if they both run the PS4 version of the game, and the same goes for Xbox Series X|S and Xbox One
However, full cross‑platform play between PC, Xbox, and PlayStation isn’t available and is very unlikely to be added before GTA 6 releases.