Plugin which uses local or external server

is it allowed to make a Plugin where the user has to provide a server URL for external application which is free and can be installed locally or on external server?
For testing it would no problem to provide an URL.
Thank you!

Hi, I know it is possible for a Photoshop or XD plugin to connect to a server URL that hosts an external application. Not sure how that will work if it is the user who has to provide the server URL