You can play Phasmophobia while using Discord voice chat with your friends if you wish. I strongly suggest not doing so, however, as proximity chat and using the in-game radios to talk to one another is a significant element of the game that it would be a shame to miss out on.