If the GM has set up an API script that will perform a long rest, probably. But more information is needed for a good answer. What sheet are you using, what API script does the GM use that would support it, and does the game even support the API (Pro user-created)? Also, you may need to ask GM permission. Chances are if they are running a script that allows this, they can give you more specific help.