I don't see any reason why it shouldn't (as long as you have the permissions to install libgpgme, if it isn't already).
But I haven't personally tried to sign commits from RStudio Server--so let us know whether following those instructions ends up working or not!