Yes- FIFA 23 has cross compatibility, meaning not only can you play against PS5 players on the PS4, but also Xbox, Stadia and PC players.