Of course, the answer is “Yes”. Although it is not possible to directly get IP from Discord due to the application privacy terms, you still can find IP using some specific Discord IP resolver tools. Don't worry. These tools come from legal websites or application stores.