Hi @Sandeep Kumar Sharma Welcome to Microsoft Q&A thanks for posting your question
Yes, it is possible to connect to an Azure PostgreSQL server from outside of the Azure network. You can use the PostgreSQL Instance endpoint to connect to the PostgreSQL server from your favorite tool such as DB visualizer, Azure Data Studio, pgcli, psql, pgAdmin, etc.
Steps you can follow from PGAdmin
Regards
Geetha